diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2021-06-24 22:31:06 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2021-12-28 11:47:20 +0100 |
| commit | 7d850a0c4d26591fadb26d82a8ffac530c217e9c (patch) | |
| tree | 8ae726b6cfbf404821022a8822cff66ece0cd656 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | c66286ed5924a6b1535f0eb9af4d19f8cf676be0 (diff) | |
[InstCombine] Make indexed compare fold opaque ptr compatible
We need to make sure that the GEP source element types match.
A caveat here is that the used GEP source element type can be
arbitrary if no offset is stripped from the original GEP -- the
transform is somewhat inconsistent in that it always starts from
a GEP, but might not actually look through it if it has multiple
indices.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
