mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-06 05:06:45 +00:00
No reason not to run the NEON domain croassing fix up pass in thumb2 mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103917 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
88dc976102
commit
9c207ac0dc
@ -118,7 +118,7 @@ bool NEONMoveFixPass::runOnMachineFunction(MachineFunction &Fn) {
|
|||||||
ARMFunctionInfo *AFI = Fn.getInfo<ARMFunctionInfo>();
|
ARMFunctionInfo *AFI = Fn.getInfo<ARMFunctionInfo>();
|
||||||
const TargetMachine &TM = Fn.getTarget();
|
const TargetMachine &TM = Fn.getTarget();
|
||||||
|
|
||||||
if (AFI->isThumbFunction())
|
if (AFI->isThumb1OnlyFunction())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
TRI = TM.getRegisterInfo();
|
TRI = TM.getRegisterInfo();
|
||||||
|
Loading…
Reference in New Issue
Block a user