[Mlir-commits] [mlir] Fixed Windows build warnings (PR #68978)
    Nikita Kudriavtsev 
    llvmlistbot at llvm.org
       
    Fri Oct 20 03:15:23 PDT 2023
    
    
  
================
@@ -498,7 +498,7 @@ LogicalResult GPUPrintfOpToVPrintfLowering::matchAndRewrite(
   for (auto [index, arg] : llvm::enumerate(args)) {
     Value ptr = rewriter.create<LLVM::GEPOp>(
         loc, LLVM::LLVMPointerType::get(arg.getType()), tempAlloc,
-        ArrayRef<LLVM::GEPArg>{0, index});
+        ArrayRef<LLVM::GEPArg>{0, static_cast<int32_t>(index)});
----------------
nikita-kud wrote:
will revert(or close PR)
https://github.com/llvm/llvm-project/pull/68978
    
    
More information about the Mlir-commits
mailing list