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

Puyan Lotfi plotfi at apple.com
Tue Apr 1 16:52:16 PDT 2014


The following patch checks that a caller with unsafe-fp-math set does get a callee inlined into it that does not have the attribute set without unsetting attribute in the caller prior; idea is to make the caller being altered by inlining be as safe as the callee. 

Test case included in patch. 

Could someone review this?

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/20140401/2ff476ca/attachment.obj>
-------------- next part --------------







More information about the llvm-commits mailing list