This is an archive of the discontinued LLVM Phabricator instance.

Enabling multiple letters and digits in constraints
Needs RevisionPublic

Authored by Tilir on Mar 10 2016, 5:13 AM.

Details

Summary

There was a FIXME in multiletter constraints, that required to make them really any number of letters and digits, and also problems in documentation. This patch is about to fix both.

Diff Detail

Event Timeline

Tilir updated this revision to Diff 50264.Mar 10 2016, 5:13 AM
Tilir retitled this revision from to Enabling multiple letters and digits in constraints.
Tilir updated this object.
Tilir added reviewers: echristo, dsanders.
Tilir added a subscriber: llvm-commits.
echristo requested changes to this revision.Mar 10 2016, 2:57 PM
echristo edited edge metadata.

This is unacceptable for 3.7. Please go ahead and resubmit against ToT if you'd like it there.

What compatibility are we trying to accomplish here with this?

-eric

This revision now requires changes to proceed.Mar 10 2016, 2:57 PM
Tilir updated this revision to Diff 50413.Mar 11 2016, 3:27 AM
Tilir edited edge metadata.

Attached new svn diff against top of trunk (r263219)

Tilir added a comment.EditedMar 11 2016, 3:29 AM

This is unacceptable for 3.7. Please go ahead and resubmit against ToT if you'd like it there.

What compatibility are we trying to accomplish here with this?

-eric

Resubmitted against ToT

GCC inline assembler constraints compatibility. I found it on private backend, where GCC constraints like "A32" were widely used in inline assembler, and it seems now there are no way to use them. So I asked in mailing list and then made this patch.

This could probably use some tests. If no current upstream port uses the feature though it makes it hard to accept. :(

This revision now requires changes to proceed.Jul 27 2020, 10:07 PM