Skip to content

Commit 81ca350

Browse files
authored
AMDGPU: Rename variable from undef to poison (#130460)
1 parent 39cf545 commit 81ca350

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class SIAnnotateControlFlow {
4848

4949
ConstantInt *BoolTrue;
5050
ConstantInt *BoolFalse;
51-
UndefValue *BoolUndef;
51+
PoisonValue *BoolPoison;
5252
Constant *IntMaskZero;
5353

5454
Function *If = nullptr;
@@ -120,7 +120,7 @@ void SIAnnotateControlFlow::initialize(const GCNSubtarget &ST) {
120120

121121
BoolTrue = ConstantInt::getTrue(Context);
122122
BoolFalse = ConstantInt::getFalse(Context);
123-
BoolUndef = PoisonValue::get(Boolean);
123+
BoolPoison = PoisonValue::get(Boolean);
124124
IntMaskZero = ConstantInt::get(IntMask, 0);
125125
}
126126

0 commit comments

Comments
 (0)