summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-03-19 12:20:00 +0100
committerNikita Popov <npopov@redhat.com>2024-03-19 12:24:11 +0100
commit00ca80938b732ee43deb2a94bec1c7efef3025d4 (patch)
tree3b72f40c45d4d917a8a88630135a4df84143b3a8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentc9bdeabdf4b46fbf1f6a9fcbf9cd61d460b18c08 (diff)
[ConstantFold] Fix comparison between special pointer constants
This code was assuming that the LHS would always be one of GlobalVariable, BlockAddress or ConstantExpr. However, it can also be a special constant like dso_local_equivalent or no_cfi. Make sure this is handled gracefully.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions