[PATCH] D140905: [DebugInfo] Replace UndefValue with PoisonValue in setKillLocation
Nuno Lopes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 3 14:15:58 PST 2023
nlopes accepted this revision.
nlopes added a comment.
This revision is now accepted and ready to land.
LGTM!
================
Comment at: llvm/include/llvm/IR/IntrinsicInst.h:277
continue;
- Value *Undef = UndefValue::get(OldValue->getType());
+ Value *Undef = PoisonValue::get(OldValue->getType());
replaceVariableLocationOp(OldValue, Undef);
----------------
Maybe rename this var to Poison
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140905/new/
https://reviews.llvm.org/D140905
More information about the llvm-commits
mailing list