[Mlir-commits] [mlir] [mlir][NFC] update `mlir/lib` create APIs (26/n) (PR #149933)
Tobias Gysi
llvmlistbot at llvm.org
Mon Jul 21 22:59:23 PDT 2025
================
@@ -37,8 +37,8 @@ LogicalResult mlir::LLVMImportInterface::convertUnregisteredIntrinsic(
return failure();
Type resultType = moduleImport.convertType(inst->getType());
- auto op = builder.create<::mlir::LLVM::CallIntrinsicOp>(
- moduleImport.translateLoc(inst->getDebugLoc()),
+ auto op = ::mlir::LLVM::CallIntrinsicOp::create(
----------------
gysit wrote:
```suggestion
auto op = CallIntrinsicOp::create(
```
optional: the namespace seems redundant
https://github.com/llvm/llvm-project/pull/149933
More information about the Mlir-commits
mailing list