[llvm-commits] [llvm] r144122 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp

Eric Christopher echristo at apple.com
Tue Nov 8 13:26:02 PST 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() &&
        !DisableARMFastISel)

I guess for most of those a thumb2 check is probably better anyhow though, since we use mostly t2 instructions.

Thanks!

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111108/5710e8f7/attachment.html>


More information about the llvm-commits mailing list