aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2021-12-28 09:14:27 +0100
committerNikita Popov <npopov@redhat.com>2021-12-28 09:23:28 +0100
commit30a12f3f6322399185fdceffe176152a58bb84ae (patch)
tree40ee8af1931d5011ef689fc6703b28883b94737b /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
parent7c9fb58cacd3527924e2c9bc8e529c073c8504f8 (diff)
downloadllvm-30a12f3f6322399185fdceffe176152a58bb84ae.zip
llvm-30a12f3f6322399185fdceffe176152a58bb84ae.tar.gz
llvm-30a12f3f6322399185fdceffe176152a58bb84ae.tar.bz2
[InstCombine] Fix GEP with same index comparison with opaque pointers
We need to also check that the source element type is the same, otherwise the indices may have different meaning. The added addrspacecast demonstrates that we do still need to check the pointer type.
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions