[llvm-commits] [llvm] r105990 - /llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp
Bob Wilson
bob.wilson at apple.com
Mon Jun 14 22:51:27 PDT 2010
Author: bwilson
Date: Tue Jun 15 00:51:27 2010
New Revision: 105990
URL: http://llvm.org/viewvc/llvm-project?rev=105990&view=rev
Log:
VMOVQQ and VMOVQQQQ are pseudo instructions and not predicable.
Modified:
llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp?rev=105990&r1=105989&r2=105990&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.cpp Tue Jun 15 00:51:27 2010
@@ -759,7 +759,10 @@
else
return false;
- AddDefaultPred(BuildMI(MBB, I, DL, get(Opc), DestReg).addReg(SrcReg));
+ MachineInstrBuilder MIB = BuildMI(MBB, I, DL, get(Opc), DestReg);
+ MIB.addReg(SrcReg);
+ if (Opc != ARM::VMOVQQ && Opc != ARM::VMOVQQQQ)
+ AddDefaultPred(MIB);
}
return true;
More information about the llvm-commits
mailing list