Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp | ||
---|---|---|
4629 | Does returning here affect any later combines that could have folded? |
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp | ||
---|---|---|
4629 | This is the only fold of (A >> AP1) == (B >> AP2) so far, and I think it should be moved here when other same pattern appear. |
llvm/test/Transforms/InstCombine/compare-signs.ll | ||
---|---|---|
62 | Please can add non-uniform vector tests as well? |
llvm/test/Transforms/InstCombine/compare-signs.ll | ||
---|---|---|
78 | undef is allowed | |
92 | precommit negative tests here |
LGTM - see inline for some possible minor improvements.
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp | ||
---|---|---|
4621 | "C" in the result is not the same as "C" in the source - update this comment to make the transform clearer? | |
4642 | Do you plan to change this one too? It will be easier to read the code and see the early return if we make a smaller helper function to handle the related patterns. | |
4659 | Another transform that can be updated... |
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp | ||
---|---|---|
4621 | Sorry - disregard that comment. I misread the transform. This looks fine. |
"C" in the result is not the same as "C" in the source - update this comment to make the transform clearer?