llvm-project
4502ea89 - [InstCombine] More precise nuw preservation in ptrtoint of gep fold

Commit
1 year ago
[InstCombine] More precise nuw preservation in ptrtoint of gep fold We can transfer a nuw flag from the gep to the add. Additionally, the inbounds + nneg case can be relaxed to nusw + nneg. Finally, don't forget to pass the correct context instruction to SimplifyQuery.
Author
Committer
Parents
Loading