summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp
diff options
context:
space:
mode:
authorKeno Fischer <keno@alumni.harvard.edu>2017-06-02 19:04:17 +0000
committerKeno Fischer <keno@alumni.harvard.edu>2017-06-02 19:04:17 +0000
commit514a6a54e7fce2438d4859577b3655300c970fba (patch)
treeba1c86e93d86b22bf3927d965830bada402c01b0 /llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp
parentc2eaccb0af73b90e9ca5ba9646fe3ddd4d414e46 (diff)
downloadbcm5719-llvm-514a6a54e7fce2438d4859577b3655300c970fba.tar.gz
bcm5719-llvm-514a6a54e7fce2438d4859577b3655300c970fba.zip
[SROA] Fix crash due to bad bitcast
Summary: As shown in the test case, SROA was crashing when trying to split stores (to the alloca) of loads (from anywhere), because it assumed the pointer operand to the loads and stores had to have the same address space. This isn't the case. Make sure to use the correct pointer type for both the load and the store. Reviewed By: yaxunl Differential Revision: https://reviews.llvm.org/D32593 llvm-svn: 304585
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud