[PATCH] Make SROA handle addrspacecast
xweng at google.com
Tue Jun 16 12:21:28 PDT 2015
Hi arsenm, chandlerc,
This is basically D4501 from Matt with fixed testcase. In GPU related
world addrspacecast instructions are commonly used to avoid overhead
when access memory with generic load and store. SROA pass currently does
not take addrspaceCast into account. This patch uses the same way that SROA
handles bitcast to process addrspacecast.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4398 bytes
Desc: not available
More information about the llvm-commits