mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
tADDhirr is a thumb instruction. Do not allow this code to be reached in non-thumb mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67765 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b98bbb7597
commit
9d7b5309c2
@ -595,6 +595,8 @@ SDNode *ARMDAGToDAGISel::Select(SDValue Op) {
|
||||
}
|
||||
}
|
||||
case ISD::ADD: {
|
||||
if (!Subtarget->isThumb())
|
||||
break;
|
||||
// Select add sp, c to tADDhirr.
|
||||
SDValue N0 = Op.getOperand(0);
|
||||
SDValue N1 = Op.getOperand(1);
|
||||
|
Loading…
Reference in New Issue
Block a user