[cfe-commits] [PATCH] Asm multiple alternative constraints revisited

Eli Friedman eli.friedman at gmail.com
Tue Aug 10 12:16:49 PDT 2010


On Tue, Aug 10, 2010 at 12:03 PM, John Thompson
<john.thompson.jtsoftware at gmail.com> wrote:
> Eli,
>
> So it seems you are saying that the back-end needs to fixed to choose the
> multiple constraints in parallel before you will let the front end fix
> through.

The issue is that fixing the front-end properly requires messing with
the syntax for the backend... there currently isn't any way to
properly express multi-alternative constraints.

> Here's a revised patch that cuts off the constraint at the first comma, done
> in SimplifyConstraint.  I'll look into the back end fix, bouncing it first
> off the llvm list as you mentioned previously.
>
> May I check this in?

Looks fine.

-Eli




More information about the cfe-commits mailing list