This mostly copies cases that already exist in ValueTracking, although
it skips the more complex ones. Those can be filled in as needed.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | ||
---|---|---|
5105–5148 | I assume we checked operand 1 first to favor the cheap case of a non-zero constant right hand side. |
Swap operand order. Fix some style nits
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | ||
---|---|---|
5105–5148 | Makes sense, updated that everywhere else. |
Are we really hitting all these cases? We should really ensure we have test coverage for them all.
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | ||
---|---|---|
5120 | This looks like a bad merge? |
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | ||
---|---|---|
5120 | hmm? |
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | ||
---|---|---|
5120 | Sorry, I think I was miscounting brackets :) |
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | ||
---|---|---|
5120 | You where right! |
ping. Dropped the assosiated setcc patch, but would like to get this through as an improvement to the helper as is.
This looks like a bad merge?