[cfe-commits] [patch][pr13436] Fix some uses of regparm on X86

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Jul 24 20:18:55 PDT 2012


> I will try clang/utils/ABITest with -mregparm=3.

I had to patch it a bit to use it (attached), but it was worth it!
Thanks for the pointer.

It found a bug in llvm and I have emailed a patch to the llvm list. It
also found that clang was not handling empty structs correctly. The
attached patch has that bug fixed.

With the llvm and clang patches attached ABITest was unable to find a
bug in 100 runs.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.patch
Type: application/octet-stream
Size: 1591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120724/3396fe6a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.patch
Type: application/octet-stream
Size: 16783 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120724/3396fe6a/attachment-0001.obj>


More information about the cfe-commits mailing list