[PATCH] disabled switching ARM modes in inline asm

Renato Golin renato.golin at linaro.org
Tue Dec 3 12:10:29 PST 2013


On 3 December 2013 19:16, Jim Grosbach <grosbach at apple.com> wrote:
>>  Agreed.  SubtargetInfo's FeatureBits looks good for this.
>
> That could get interesting. The feature bits are theoretically ‘const’ at least on a per-function basis (currently, it’s per translation unit, which is definitely wrong). Thumb mode vs. ARM mode really shouldn’t be specified that way at all and should be a separate bit of state. There’s a lot of historical legacy to unravel here to get this right.

I feared that... I'm ok with committing this first, then solving that later.

cheers,
--renato




More information about the llvm-commits mailing list