[PATCH] Don't Promote x86_fp80 byval Pointer Arguments
tjablin at gmail.com
Wed Aug 27 13:46:41 PDT 2014
I have prepared a new version of the patch to address your feedback. The patch includes new tests, so arguments are only promoted if they have no padding or if we can prove the padding bytes are not accessed. In either case, it is safe to pass the elements by value without worrying about complications due to padding bytes. I have added a data layout field to the tail.ll test case. On a platform where i32 is 64-bit aligned, the promotion tested by tail.ll is unsound.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6566 bytes
Desc: not available
More information about the llvm-commits