diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-07-21 22:22:26 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-07-21 22:24:07 +0200 |
commit | aa5adc0c1cd011c4861b609c0cf0db3221289810 (patch) | |
tree | 14c6f8654a43d5579edd25b15de992b76449ad9b /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | a8f1ec5d6710c2b2c25eadccf58f010a2f2334c0 (diff) | |
download | llvm-aa5adc0c1cd011c4861b609c0cf0db3221289810.zip llvm-aa5adc0c1cd011c4861b609c0cf0db3221289810.tar.gz llvm-aa5adc0c1cd011c4861b609c0cf0db3221289810.tar.bz2 |
[SimplifyCFG] Fix if conversion with opaque pointers
We need to make sure that the value types are the same. Otherwise
we both may not have the necessary dereferenceability implication,
nor can we directly form the desired select pattern.
Without opaque pointers this is enforced implicitly through the
pointer comparison.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions