[PATCH] D43327: [X86] Promote 16-bit cmovs to 32-bits
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 20 05:09:15 PST 2018
RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: test/CodeGen/X86/select.ll:942
+; GENERIC-NEXT: movl $32768, %ecx ## imm = 0x8000
+; GENERIC-NEXT: cmovgel %eax, %ecx
; GENERIC-NEXT: movw %cx, (%rsi)
----------------
Those repeated 32-bit immediates are annoying.
Repository:
rL LLVM
https://reviews.llvm.org/D43327
More information about the llvm-commits
mailing list