diff options
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index 86f2829..67a3590 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -3340,7 +3340,7 @@ class TypePromotionTransaction { // Set a dummy one. // We could use OperandSetter here, but that would imply an overhead // that we are not willing to pay. - Inst->setOperand(It, UndefValue::get(Val->getType())); + Inst->setOperand(It, PoisonValue::get(Val->getType())); } } |