[PATCH] D16781: AMDGPU: Fix breaking IR on instructions with multiple pointer operands
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 1 12:21:52 PST 2016
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.
The promote alloca pass would attempt to promote an alloca with
a select, icmp, or phi user, even though the other operand was
from a non-promotable source, producing a select on two different
Only do this if we know that both operands derive from the same
alloca. In the future we should be able to relax this to an alloca
which will also be promoted.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 18438 bytes
Desc: not available
More information about the llvm-commits