From 48c68367d0320e0d6ec03bb9cf76a108f9202cad Mon Sep 17 00:00:00 2001 From: OCHyams Date: Fri, 6 Jan 2023 10:58:12 +0000 Subject: [PATCH] NFC Address review comment for D140905 --- llvm/include/llvm/IR/IntrinsicInst.h | 4 ++-- 1 file 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); } } -- 2.7.4