[PATCH] D140905: [DebugInfo] Replace UndefValue with PoisonValue in setKillLocation
Orlando Cazalet-Hyams via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 6 03:02:13 PST 2023
Orlando marked an inline comment as done.
Orlando added a comment.
Thanks
================
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);
----------------
nlopes wrote:
> Maybe rename this var to Poison
Accidentally failed to amend the commit, done in follow up commit 48c68367d0320e0d6ec03bb9cf76a108f9202cad.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140905/new/
https://reviews.llvm.org/D140905
More information about the llvm-commits
mailing list