[PATCH] D131260: [DAG] select Cond, C, -1 --> or (sext Cond), C if Cond is MVT::i1
Amaury SECHET via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 5 07:39:59 PDT 2022
deadalnix added inline comments.
================
Comment at: llvm/test/CodeGen/X86/memcmp-more-load-pairs-x32.ll:163
; X86-NEXT: .LBB9_3: # %res_block
-; X86-NEXT: setae %al
-; X86-NEXT: movzbl %al, %eax
-; X86-NEXT: leal -1(%eax,%eax), %eax
+; X86-NEXT: xorl %eax, %eax
+; X86-NEXT: cmpw %si, %dx
----------------
This seems to be unnecessary.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131260/new/
https://reviews.llvm.org/D131260
More information about the llvm-commits
mailing list