[Mlir-commits] [mlir] [MLIR][GPU] Add support for non-portable cluster size attribute (PR #95545)

Guray Ozen llvmlistbot at llvm.org
Fri Jun 14 06:47:53 PDT 2024


================
@@ -92,7 +92,8 @@ void ClusterDimOp::inferResultRanges(ArrayRef<ConstantIntRanges>,
 
 void ClusterDimBlocksOp::inferResultRanges(ArrayRef<ConstantIntRanges>,
                                            SetIntRangeFn setResultRange) {
-  setResultRange(getResult(), getIndexRange(1, kMaxClusterDim));
+  uint64_t max = APInt::getMaxValue(64).getZExtValue();
----------------
grypp wrote:

let's add a comment here why is that?

https://github.com/llvm/llvm-project/pull/95545


More information about the Mlir-commits mailing list