[cfe-commits] [patch][commit-after-review] asm comma-separated clobberlists

Ryan Flynn parseerror at gmail.com
Wed Aug 12 09:51:09 PDT 2009

patch to handle commas in clobberlists like gcc does. i.e. "=A,A"

the form "=AA" already appears to work, but the commas were causing
trouble in semantic validation ("," unrecognized) and in parsing
canonicalized asm (which already uses "," to separate constraints)

error found in FreeBSD driver, but examples found elsewhere for 32-bit
targets handling 64-bit math, i.e.
http://gcc.gnu.org/ml/gcc-bugs/2000-02/msg00104.html (search for

passes all clang tests; i wanted a review because my asm-fu is weak.
let me know if this is horrible. thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: asm-comma-separated-clobberlist.patch
Type: text/x-diff
Size: 1505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090812/e8d1f1e0/attachment.patch>

More information about the cfe-commits mailing list