[PATCH] D106918: [x86] improve CMOV codegen by pushing add into operands, part 3
Pengfei Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 27 18:22:40 PDT 2021
pengfei added inline comments.
================
Comment at: llvm/test/CodeGen/X86/add-cmov.ll:284
+; CHECK-NEXT: addq $60, %rdx
; CHECK-NEXT: testb $1, %dil
+; CHECK-NEXT: cmovneq %rcx, %rdx
----------------
lea won't affect eflags, so it may still be better than add in some complex scenarios I guess?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106918/new/
https://reviews.llvm.org/D106918
More information about the llvm-commits
mailing list