diff options
author | Keno Fischer <keno@alumni.harvard.edu> | 2017-06-02 19:04:17 +0000 |
---|---|---|
committer | Keno Fischer <keno@alumni.harvard.edu> | 2017-06-02 19:04:17 +0000 |
commit | a1a34351e6db7047aabd2c6fbc9228d6b0701a9d (patch) | |
tree | 44ff57e50b710ca2668ab1928c4eaf3b9b917a9d /runtimes/CMakeLists.txt | |
parent | 03ceeb1a863a789b824c875058565c80f01b9df0 (diff) |
[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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtimes/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions