[llvm] 48c6836 - NFC Address review comment for D140905
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 6 03:01:12 PST 2023
Author: OCHyams
Date: 2023-01-06T10:59:46Z
New Revision: 48c68367d0320e0d6ec03bb9cf76a108f9202cad
URL: https://github.com/llvm/llvm-project/commit/48c68367d0320e0d6ec03bb9cf76a108f9202cad
DIFF: https://github.com/llvm/llvm-project/commit/48c68367d0320e0d6ec03bb9cf76a108f9202cad.diff
LOG: NFC Address review comment for D140905
Added:
Modified:
llvm/include/llvm/IR/IntrinsicInst.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/IntrinsicInst.h b/llvm/include/llvm/IR/IntrinsicInst.h
index 31049c87c68c..3928b0213453 100644
--- a/llvm/include/llvm/IR/IntrinsicInst.h
+++ b/llvm/include/llvm/IR/IntrinsicInst.h
@@ -274,8 +274,8 @@ class DbgVariableIntrinsic : public DbgInfoIntrinsic {
for (Value *OldValue : location_ops()) {
if (!RemovedValues.insert(OldValue).second)
continue;
- Value *Undef = PoisonValue::get(OldValue->getType());
- replaceVariableLocationOp(OldValue, Undef);
+ Value *Poison = PoisonValue::get(OldValue->getType());
+ replaceVariableLocationOp(OldValue, Poison);
}
}
More information about the llvm-commits
mailing list