[PATCH] D15549: [X86] Use push-pop for materializing small constants under 'minsize'

David Kreitzer via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 17 14:15:46 PST 2015


DavidKreitzer added a comment.

LGTM


================
Comment at: lib/Target/X86/X86InstrInfo.cpp:5310
@@ +5309,3 @@
+
+  if (Subtarget.is64Bit()) {
+    assert(MIB->getOpcode() == X86::MOV64ImmSExti8 ||
----------------
Much better, thanks!


http://reviews.llvm.org/D15549





More information about the llvm-commits mailing list