Skip to content
Commit c56f847a authored by Rafael Espindola's avatar Rafael Espindola
Browse files

Add support for declaring register contraints in variables. They are only used

in asm statements:

register int foo asm("rdi");

asm("..." : ... "r" (foo) ...

We also only accept these variables if the constraint in the asm statement is "r".

This fixes most of PR3933.

llvm-svn: 122643
parent 570dd787
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment