aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-07-21 22:22:26 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-07-21 22:24:07 +0200
commitaa5adc0c1cd011c4861b609c0cf0db3221289810 (patch)
tree14c6f8654a43d5579edd25b15de992b76449ad9b /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parenta8f1ec5d6710c2b2c25eadccf58f010a2f2334c0 (diff)
downloadllvm-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