[PATCH] D21144: [X86]: Quit promoting 8 and 16 bit compares to 32 bit.

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 14:20:24 PDT 2016


eli.friedman added a subscriber: eli.friedman.

================
Comment at: test/CodeGen/X86/memcmp.ll:44
@@ -44,4 +43,3 @@
 ; CHECK-LABEL: memcmp2a:
-; CHECK: movzwl
-; CHECK-NEXT: cmpl    $28527,
+; CHECK: cmpw $28527, (%
 }
----------------
16-bit immediate operands are bad for performance on modern x86.


http://reviews.llvm.org/D21144





More information about the llvm-commits mailing list