[PATCH] Caller/Calllee unsafe-fp-math attribute fixup prior to inlining.

Puyan Lotfi plotfi at apple.com
Thu Apr 10 22:10:36 PDT 2014


Hi All

The following patch checks that when inlining a callee into a a caller with unsafe-fp-math set, that the callee also has the attribute for unsafe-fp-math set (or others that apply) too. 
The idea is to make the caller being altered by inlining be as safe as the callee, and the check is made immediately prior to the actual inlining (where it will modify whatever function attributes necessary).

Could someone review this please?

Thanks

-Puyan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: unsafeattr2.patch
Type: application/octet-stream
Size: 7014 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140410/9ea202d6/attachment.obj>
-------------- next part --------------


P.S.

This is a ping of a patch I sent previously, but I thought I’d rewrite the email body for clarity. 


More information about the llvm-commits mailing list