[LLVMdev] Help with subtarget features and context-dependent asm parsers
grosbach at apple.com
Wed Jul 17 11:26:30 PDT 2013
On Jul 17, 2013, at 11:14 AM, Tim Northover <t.p.northover at gmail.com> wrote:
>> This seems fixable. The custom parsers that are only valid for certain sub targets could easily have an explicit early-exit if the active sub target isn't what it's looking for. Would that be sufficient here?
> It doesn't look like there are different encodings for the same string
> so I don't think even that would be necessary. How about partitioning
> by MRS_APSR and MRS_OtherM instead of the current MRS_M and MRS_AR?
No objection. I vaguely recall there were some encoding differences for the same input strings between the sub targets, which is what motivated the split. If that's a faulty recollection, then yeah, merging them sounds great.
> I'll see if I can put a patch together.
More information about the llvm-dev