forked from OSchip/llvm-project
Use the thumb2 conditional move instruction.
llvm-svn: 115905
This commit is contained in:
parent
6d74673366
commit
a98be90efe
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue