[PATCH] D149918: [InstCombine] Add oneuse checks to shr + cmp constant folds.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 4 19:16:59 PDT 2023
aemerson added inline comments.
================
Comment at: llvm/test/Transforms/InstCombine/icmp-shr-lt-gt.ll:900
+define i1 @ashrsgt_01_00_multiuse(i4 %x, ptr %p) {
+; CHECK-LABEL: @ashrsgt_01_00_multiuse(
----------------
goldstein.w.n wrote:
> Can you split the tests to a seperate patch so we can see the dif?
You can just look at the test immediately before this one to see what the original codegen is. The difference is just that the code is this case isn’t combined.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149918/new/
https://reviews.llvm.org/D149918
More information about the llvm-commits
mailing list