[llvm-commits] [llvm] r144122 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
echristo at apple.com
Tue Nov 8 15:26:02 CST 2011
On Nov 8, 2011, at 1:12 PM, Chad Rosier wrote:
> ARMFastISel doesn't support thumb1. Rename isThumb to isThumb2 to reflect this.
> No functional change intended.
That's what this code is there for:
// Darwin and thumb1 only for now.
const ARMSubtarget *Subtarget = &TM.getSubtarget<ARMSubtarget>();
if (Subtarget->isTargetDarwin() && !Subtarget->isThumb1Only() &&
I guess for most of those a thumb2 check is probably better anyhow though, since we use mostly t2 instructions.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits