[llvm] [SelectionDAG] Fix and improve TargetLowering::SimplifySetCC (PR #87646)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 12 02:41:08 PDT 2024


================
@@ -189,7 +191,7 @@ define i1 @test_48_16_8(ptr %y) {
 ; CHECK-LE-LABEL: test_48_16_8:
 ; CHECK-LE:       @ %bb.0:
 ; CHECK-LE-NEXT:    ldrh r0, [r0, #1]
-; CHECK-LE-NEXT:    cmp r0, #0
+; CHECK-LE-NEXT:    lsls r0, r0, #8
----------------
RKSimon wrote:

Have you looked into this any further?

https://github.com/llvm/llvm-project/pull/87646


More information about the llvm-commits mailing list