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 6d74673366
commit a98be90efe
1 changed files with 1 additions and 1 deletions

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);