[PATCH] D151659: Constant propogation through freeze instruction
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 30 01:47:23 PDT 2023
nikic added a comment.
The value lattice only distinguishes literal undef values. You can still have a constant that is potentially poison. Try something like `freeze i64 add nuw (i64 ptrtoint (ptr @g to i64), i64 123)`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151659/new/
https://reviews.llvm.org/D151659
More information about the llvm-commits
mailing list