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

Puyan Lotfi plotfi at apple.com
Tue Apr 15 22:22:48 PDT 2014


Ping.

-------------- 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/20140415/2899f231/attachment.obj>
-------------- next part --------------


On Apr 10, 2014, at 10:10 PM, Puyan Lotfi <plotfi at apple.com> wrote:

> 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
> 
> <unsafeattr2.patch>
> 
> P.S.
> 
> This is a ping of a patch I sent previously, but I thought I’d rewrite the email body for clarity. _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list