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:
Evan Cheng 2010-05-17 01:11:46 +00:00
parent 88dc976102
commit 9c207ac0dc

View File

@ -118,7 +118,7 @@ bool NEONMoveFixPass::runOnMachineFunction(MachineFunction &Fn) {
ARMFunctionInfo *AFI = Fn.getInfo<ARMFunctionInfo>();
const TargetMachine &TM = Fn.getTarget();
if (AFI->isThumbFunction())
if (AFI->isThumb1OnlyFunction())
return false;
TRI = TM.getRegisterInfo();