[llvm-commits] [llvm] r69347 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Bill Wendling
isanbard at gmail.com
Thu Apr 16 21:19:23 PDT 2009
Author: void
Date: Thu Apr 16 23:19:22 2009
New Revision: 69347
URL: http://llvm.org/viewvc/llvm-project?rev=69347&view=rev
Log:
Revert r69335 and r69336. They were causing build failures.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.cpp?rev=69347&r1=69346&r2=69347&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Thu Apr 16 23:19:22 2009
@@ -667,7 +667,6 @@
default:
return false;
case X86::MOV8rr:
- case X86::MOV8rr_NOREX:
case X86::MOV16rr:
case X86::MOV32rr:
case X86::MOV64rr:
@@ -1665,10 +1664,9 @@
} else if (DestRC == &X86::GR16RegClass) {
Opc = X86::MOV16rr;
} else if (DestRC == &X86::GR8RegClass) {
- // Copying two or from a physical H register on x86-64 requires a NOREX
- // move. Otherwise use a normal move.
- if ((isHReg(DestReg) || isHReg(SrcReg)) &&
- TM.getSubtarget<X86Subtarget>().is64Bit())
+ // Copying two or from a physical H register requires a NOREX move.
+ // Otherwise use a normal move.
+ if (isHReg(DestReg) || isHReg(SrcReg))
Opc = X86::MOV8rr_NOREX;
else
Opc = X86::MOV8rr;
More information about the llvm-commits
mailing list