[PATCH] D135700: [DAGCombine] Simplify (truncate (build_pair x, y)) -> (truncate x) or x

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 15:58:00 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/X86/test-shrink.ll:870
 ; CHECK-X86:       # %bb.0:
-; CHECK-X86-NEXT:    testw $-32768, {{[0-9]+}}(%esp) # imm = 0x8000
 ; CHECK-X86-NEXT:    js .LBB19_2
----------------
The IR here isn't canonical according to InstCombine so it's hard to say if this is a real regression or not.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135700/new/

https://reviews.llvm.org/D135700



More information about the llvm-commits mailing list