diff options
author | Nuno Lopes <nuno.lopes@tecnico.ulisboa.pt> | 2024-10-24 09:01:25 +0100 |
---|---|---|
committer | Nuno Lopes <nuno.lopes@tecnico.ulisboa.pt> | 2024-10-24 09:01:25 +0100 |
commit | 509af087cccca3bf8a90bc9871335224226dc6fe (patch) | |
tree | 40f784e125a9328fe43b7357b643d81aee895cb2 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 0b7e8c25ece1ff0e0dc0b7d283600b49498e8162 (diff) | |
download | llvm-509af087cccca3bf8a90bc9871335224226dc6fe.zip llvm-509af087cccca3bf8a90bc9871335224226dc6fe.tar.gz llvm-509af087cccca3bf8a90bc9871335224226dc6fe.tar.bz2 |
replace 2 placeholder uses of undef with poison [NFC]
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())); } } |