diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-03-19 12:20:00 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2024-03-19 12:24:11 +0100 |
| commit | 00ca80938b732ee43deb2a94bec1c7efef3025d4 (patch) | |
| tree | 3b72f40c45d4d917a8a88630135a4df84143b3a8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | c9bdeabdf4b46fbf1f6a9fcbf9cd61d460b18c08 (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
