No reason not to run the NEON domain croassing fix up pass in thumb2 mode.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 17 May 2010 01:11:46 +0000 (01:11 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 17 May 2010 01:11:46 +0000 (01:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103917 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/NEONMoveFix.cpp

index 3c0414d2b64679699dc1a4d205608e101a9e1d59..0a4400cc7ddd7cfa7da9c477385c970f637c5958 100644 (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();