[PATCH] D63318: [DAGCombine] Teach DAGCombine to fold the aext + select pattern
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 00:15:24 PDT 2019
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/X86/cmov-promotion.ll:130
+; CMOV-NEXT: movl $4294967295, %eax # imm = 0xFFFFFFFF
+; CMOV-NEXT: cmovneq %rcx, %rax
; CMOV-NEXT: retq
----------------
This is slightly worse. Maybe don't do this when zext is free?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63318/new/
https://reviews.llvm.org/D63318
More information about the llvm-commits
mailing list