diff options
author | Maksim Levental <maksim.levental@gmail.com> | 2025-07-22 07:16:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-22 08:16:53 -0400 |
commit | 4ae9fdca8af095afd91705f8dd143e93b304b6fb (patch) | |
tree | f8168c0daa7e81cfd99c1bbf5327aa234e031f4e /mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp | |
parent | f904cdd6c3049e605d24ed17680e80e7133908a0 (diff) | |
download | llvm-4ae9fdca8af095afd91705f8dd143e93b304b6fb.zip llvm-4ae9fdca8af095afd91705f8dd143e93b304b6fb.tar.gz llvm-4ae9fdca8af095afd91705f8dd143e93b304b6fb.tar.bz2 |
[mlir][NFC] update `Conversion` create APIs (6/n) (#149888)
See https://github.com/llvm/llvm-project/pull/147168 for more info.
Diffstat (limited to 'mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp')
-rw-r--r-- | mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp b/mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp index 7ac9687..021e31a 100644 --- a/mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp +++ b/mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp @@ -95,8 +95,8 @@ struct OpenMPOpConversion : public ConvertOpToLLVMPattern<T> { } // Create new operation. - auto newOp = rewriter.create<T>(op.getLoc(), resTypes, convertedOperands, - convertedAttrs); + auto newOp = T::create(rewriter, op.getLoc(), resTypes, convertedOperands, + convertedAttrs); // Translate regions. for (auto [originalRegion, convertedRegion] : |