[PATCH] D35975: AMDGPU: Look through a bitcast user of an out argument
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 27 20:21:57 PDT 2017
arsenm created this revision.
Herald added subscribers: t-tye, Anastasia, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.
This allows handling of a lot more of the interesting
cases in Blender. Most of the large functions unlikely
to be inlined have this pattern.
This is a special case for what clang emits for OpenCL 3
element vectors. Annoyingly, these are emitted as
<3 x elt>* pointers, but accessed as <4 x elt>* operations.
This also needs to handle cases where a struct containing
a single vector is used.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 22875 bytes
Desc: not available
More information about the llvm-commits