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 c9a8fcf commit 9d43175Copy full SHA for 9d43175
clang/lib/CodeGen/TargetInfo.cpp
@@ -9003,12 +9003,8 @@ void AMDGPUTargetCodeGenInfo::setTargetAttributes(
9003
unsigned ZDim = 0;
9004
ASTContext &Ctx = M.getContext();
9005
if (FlatWGS) {
9006
- Min = FlatWGS->getMin()
9007
- ->EvaluateKnownConstInt(Ctx)
9008
- .getExtValue();
9009
- Max = FlatWGS->getMax()
9010
9011
+ Min = FlatWGS->getMin()->EvaluateKnownConstInt(Ctx).getExtValue();
+ Max = FlatWGS->getMax()->EvaluateKnownConstInt(Ctx).getExtValue();
9012
}
9013
if (ReqdWGS) {
9014
XDim = ReqdWGS->getXDimVal(Ctx)->getZExtValue();
0 commit comments