llvm-project
5841319a - [ConstantFolding] Support ptrtoadd in IsConstantOffsetFromGlobal()

Commit
1 day ago
[ConstantFolding] Support ptrtoadd in IsConstantOffsetFromGlobal() Handle ptrtoaddr the same way as ptrtoint. This code is already working on the index size (= address size) of the pointer only.
Author
Committer
Parents
Loading