NFC Address review comment for D140905
authorOCHyams <orlando.hyams@sony.com>
Fri, 6 Jan 2023 10:58:12 +0000 (10:58 +0000)
committerOCHyams <orlando.hyams@sony.com>
Fri, 6 Jan 2023 10:59:46 +0000 (10:59 +0000)
llvm/include/llvm/IR/IntrinsicInst.h

index 31049c8..3928b02 100644 (file)
@@ -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);
     }
   }