[llvm] 81ca350 - AMDGPU: Rename variable from undef to poison (#130460)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 10 08:18:39 PDT 2025
Author: Matt Arsenault
Date: 2025-03-10T22:18:36+07:00
New Revision: 81ca350b295c874d77c33c612da7979843b68a3e
URL: https://github.com/llvm/llvm-project/commit/81ca350b295c874d77c33c612da7979843b68a3e
DIFF: https://github.com/llvm/llvm-project/commit/81ca350b295c874d77c33c612da7979843b68a3e.diff
LOG: AMDGPU: Rename variable from undef to poison (#130460)
Added:
Modified:
llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp b/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
index df0c2080e0795..3be7e5a16c825 100644
--- a/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
+++ b/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
@@ -48,7 +48,7 @@ class SIAnnotateControlFlow {
ConstantInt *BoolTrue;
ConstantInt *BoolFalse;
- UndefValue *BoolUndef;
+ PoisonValue *BoolPoison;
Constant *IntMaskZero;
Function *If = nullptr;
@@ -120,7 +120,7 @@ void SIAnnotateControlFlow::initialize(const GCNSubtarget &ST) {
BoolTrue = ConstantInt::getTrue(Context);
BoolFalse = ConstantInt::getFalse(Context);
- BoolUndef = PoisonValue::get(Boolean);
+ BoolPoison = PoisonValue::get(Boolean);
IntMaskZero = ConstantInt::get(IntMask, 0);
}
More information about the llvm-commits
mailing list