[llvm-commits] [llvm] r103917 - /llvm/trunk/lib/Target/ARM/NEONMoveFix.cpp
Evan Cheng
evan.cheng at apple.com
Sun May 16 18:15:59 PDT 2010
Hi Anton,
Let me know if this is not correct. I don't see why this pass is only run in ARM mode.
Evan
On May 16, 2010, at 6:11 PM, Evan Cheng wrote:
> Author: evancheng
> Date: Sun May 16 20:11:46 2010
> New Revision: 103917
>
> URL: http://llvm.org/viewvc/llvm-project?rev=103917&view=rev
> Log:
> No reason not to run the NEON domain croassing fix up pass in thumb2 mode.
>
> Modified:
> llvm/trunk/lib/Target/ARM/NEONMoveFix.cpp
>
> Modified: llvm/trunk/lib/Target/ARM/NEONMoveFix.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/NEONMoveFix.cpp?rev=103917&r1=103916&r2=103917&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/ARM/NEONMoveFix.cpp (original)
> +++ llvm/trunk/lib/Target/ARM/NEONMoveFix.cpp Sun May 16 20:11:46 2010
> @@ -118,7 +118,7 @@
> ARMFunctionInfo *AFI = Fn.getInfo<ARMFunctionInfo>();
> const TargetMachine &TM = Fn.getTarget();
>
> - if (AFI->isThumbFunction())
> + if (AFI->isThumb1OnlyFunction())
> return false;
>
> TRI = TM.getRegisterInfo();
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list