aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-05-12 01:58:58 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-05-12 01:58:58 +0000
commita61cb48dd2c40cf4c9b53c8aa00c24543d23cd60 (patch)
tree24c0fccc4629f35e8a0bf694a2a462a5e0ece0ab /clang/unittests/Basic/VirtualFileSystemTest.cpp
parentde60ad33b37e19cbf73b53feed6428886d358f02 (diff)
downloadllvm-a61cb48dd2c40cf4c9b53c8aa00c24543d23cd60.zip
llvm-a61cb48dd2c40cf4c9b53c8aa00c24543d23cd60.tar.gz
llvm-a61cb48dd2c40cf4c9b53c8aa00c24543d23cd60.tar.bz2
AMDGPU: Fix breaking IR on instructions with multiple pointer operands
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 pointer types. 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. llvm-svn: 269265
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions