[Mlir-commits] [mlir] [mlir][NFC] update `Conversion` create APIs (4/n) (PR #149879)

David Spickett llvmlistbot at llvm.org
Fri Jul 25 02:57:36 PDT 2025


DavidSpickett wrote:

This has broken one of our Windows builds, please take a look: https://lab.llvm.org/buildbot/#/builders/124/builds/1229

```
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\llvm\mlir\lib\Conversion\AMDGPUToROCDL\AMDGPUToROCDL.cpp(235,14): error: call to 'create' is ambiguous
  235 |     result = LLVM::InsertValueOp::create(rewriter, loc, result, fatPtr,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\stage1\tools\mlir\include\mlir/Dialect/LLVMIR/LLVMOps.h.inc(14324,24): note: candidate function
 14324 |   static InsertValueOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value container, ::mlir::Value value, ::mlir::DenseI64ArrayAttr position);
       |                        ^
C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc-2stage\stage1\tools\mlir\include\mlir/Dialect/LLVMIR/LLVMOps.h.inc(14333,24): note: candidate function
 14333 |   static InsertValueOp create(::mlir::OpBuilder &builder, ::mlir::Location location, ::mlir::Value container, ::mlir::Value value, ::llvm::ArrayRef<int64_t> position);
       |                        ^
1 warning and 1 error generated.
```

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


More information about the Mlir-commits mailing list