Skip to content

Commit 596a1c5

Browse files
vsemenov368igcbot
authored andcommitted
LLVM API Changes in VC
.
1 parent 910e936 commit 596a1c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/VectorCompiler/lib/GenXCodeGen/GenXLscAddrCalcFolding.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ bool GenXLscAddrCalcFolding::foldLscAddrExtend(CallInst &Inst) {
449449
SmallVector<Constant *, 32> Values;
450450
for (unsigned I = 0; I < Const->getType()->getNumElements(); I++) {
451451
auto V = Const->getAggregateElement(I)->getUniqueInteger();
452-
if (V.getMinSignedBits() > 32)
452+
if (V.getSignificantBits() > 32)
453453
return false;
454454
Values.push_back(Builder.getInt32(V.getSExtValue()));
455455
}

0 commit comments

Comments
 (0)