[PATCH] Don't Promote x86_fp80 byval Pointer Arguments
tjablin at gmail.com
Mon Aug 25 18:53:08 PDT 2014
If the members of a structure passed by value are used only through geps and loads, the isSafeToPromoteArgument function will handle them correctly, so contrary to its name, the patch will allow byval x86_fp80*s to be promoted, provided they are used in a sane way. I have added a new testcase where the argument is used sanely, and consequently its argument is promoted.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2382 bytes
Desc: not available
More information about the llvm-commits