[PATCH] SROA: extract instead of shuffle when performing vector/array type punning
jfb at chromium.org
Sat Feb 7 17:16:26 PST 2015
Hi chandlerc, jvoung,
The resulting code is shorter and simpler to optimize. The existing code was more general, and still serves as the fallback case when the incoming vector type and the outgoing scalar are incompatible. This code should trigger more often than through type punning, but that's the user code I saw it trigger on.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6877 bytes
Desc: not available
More information about the llvm-commits