We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 910e936 commit 596a1c5Copy full SHA for 596a1c5
IGC/VectorCompiler/lib/GenXCodeGen/GenXLscAddrCalcFolding.cpp
@@ -449,7 +449,7 @@ bool GenXLscAddrCalcFolding::foldLscAddrExtend(CallInst &Inst) {
449
SmallVector<Constant *, 32> Values;
450
for (unsigned I = 0; I < Const->getType()->getNumElements(); I++) {
451
auto V = Const->getAggregateElement(I)->getUniqueInteger();
452
- if (V.getMinSignedBits() > 32)
+ if (V.getSignificantBits() > 32)
453
return false;
454
Values.push_back(Builder.getInt32(V.getSExtValue()));
455
}
0 commit comments