1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Use the thumb2 conditional move instruction.

llvm-svn: 115905
This commit is contained in:
Eric Christopher 2010-10-07 05:31:49 +00:00
parent 8b8bce9a5b
commit 67ca7a8fe3

View File

@ -942,7 +942,7 @@ bool ARMFastISel::SelectCmp(const Instruction *I) {
// Now set a register based on the comparison. Explicitly set the predicates
// here.
unsigned MovCCOpc = isThumb ? ARM::tMOVCCi : ARM::MOVCCi;
unsigned MovCCOpc = isThumb ? ARM::t2MOVCCi : ARM::MOVCCi;
unsigned DestReg = createResultReg(ARM::GPRRegisterClass);
Constant *Zero
= ConstantInt::get(Type::getInt32Ty(*Context), 0);