aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/IR/IntrinsicInst.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/IntrinsicInst.h b/llvm/include/llvm/IR/IntrinsicInst.h
index 31049c8..3928b02 100644
--- a/llvm/include/llvm/IR/IntrinsicInst.h
+++ b/llvm/include/llvm/IR/IntrinsicInst.h
@@ -274,8 +274,8 @@ public:
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);
}
}