mirror of
https://github.com/RPCSX/llvm.git
synced 2025-05-13 10:56:01 +00:00
Use the thumb2 conditional move instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115905 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1107734e22
commit
338c253d7e
@ -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…
x
Reference in New Issue
Block a user