llvm-project
00ca8093 - [ConstantFold] Fix comparison between special pointer constants

Commit
1 year ago
[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.
Author
Committer
Parents
Loading