================ @@ -53,6 +55,16 @@ static Value truncToI32(ConversionPatternRewriter &rewriter, Location loc, return rewriter.create<LLVM::TruncOp>(loc, rewriter.getI32Type(), value); } +/// Returns warp-size as a value. +static Value getWarpSizeValue(ImplicitLocOpBuilder &b) { ---------------- qcolombet wrote:
Is there an interest in having a singleton here as opposed to just storing the result in a variable in the related place? https://github.com/llvm/llvm-project/pull/65441 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits