[Mlir-commits] [mlir] [MLIR][RFC] MIR dialects: model pre-RA AArch64 MachineIR generated from LLVM TableGen (PR #218476)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Aug 24 11:48:34 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 4730 tests passed
* 217 tests skipped

All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>tools/mlir/lib/Target/MIR/CMakeFiles/obj.MLIRTargetMIRImport.dir/MIRImport.cpp.o</summary>

```
FAILED: tools/mlir/lib/Target/MIR/CMakeFiles/obj.MLIRTargetMIRImport.dir/MIRImport.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/lib/Target/MIR -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/MIR -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/mlir/lib/Target/MIR/CMakeFiles/obj.MLIRTargetMIRImport.dir/MIRImport.cpp.o -MF tools/mlir/lib/Target/MIR/CMakeFiles/obj.MLIRTargetMIRImport.dir/MIRImport.cpp.o.d -o tools/mlir/lib/Target/MIR/CMakeFiles/obj.MLIRTargetMIRImport.dir/MIRImport.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/MIR/MIRImport.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/MIR/MIRImport.cpp:123:21: error: 'create' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
123 |         auto op = b.create<mir::CopyFromPhysOp>(loc, ty, reg);
|                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:509:8: note: 'create' has been explicitly marked deprecated here
509 |   OpTy create(Location location, Args &&...args) {
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/MIR/MIRImport.cpp:123:21: error: 'create<mlir::mir::CopyFromPhysOp, mlir::Type &, mlir::mir::PhysRegAttr &>' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
123 |         auto op = b.create<mir::CopyFromPhysOp>(loc, ty, reg);
|                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:508:5: note: 'create<mlir::mir::CopyFromPhysOp, mlir::Type &, mlir::mir::PhysRegAttr &>' has been explicitly marked deprecated here
508 |   [[deprecated("Use OpTy::create instead")]]
|     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/MIR/MIRImport.cpp:133:11: error: 'create' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
133 |         b.create<mir::CopyToPhysOp>(loc, v, reg);
|           ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:509:8: note: 'create' has been explicitly marked deprecated here
509 |   OpTy create(Location location, Args &&...args) {
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/MIR/MIRImport.cpp:133:11: error: 'create<mlir::mir::CopyToPhysOp, mlir::Value &, mlir::mir::PhysRegAttr &>' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
133 |         b.create<mir::CopyToPhysOp>(loc, v, reg);
|           ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:508:5: note: 'create<mlir::mir::CopyToPhysOp, mlir::Value &, mlir::mir::PhysRegAttr &>' has been explicitly marked deprecated here
508 |   [[deprecated("Use OpTy::create instead")]]
|     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/MIR/MIRImport.cpp:141:21: error: 'create' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
141 |         auto op = b.create<mir::CopyOp>(loc, v.getType(), v);
|                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:509:8: note: 'create' has been explicitly marked deprecated here
509 |   OpTy create(Location location, Args &&...args) {
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/MIR/MIRImport.cpp:141:21: error: 'create<mlir::mir::CopyOp, mlir::Type, mlir::Value &>' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
141 |         auto op = b.create<mir::CopyOp>(loc, v.getType(), v);
|                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:508:5: note: 'create<mlir::mir::CopyOp, mlir::Type, mlir::Value &>' has been explicitly marked deprecated here
508 |   [[deprecated("Use OpTy::create instead")]]
|     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/MIR/MIRImport.cpp:282:19: error: 'create' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
282 |     auto func = b.create<mir::FuncOp>(loc, f.getName());
|                   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:509:8: note: 'create' has been explicitly marked deprecated here
509 |   OpTy create(Location location, Args &&...args) {
|        ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/MIR/MIRImport.cpp:282:19: error: 'create<mlir::mir::FuncOp, llvm::StringRef>' is deprecated: Use OpTy::create instead [-Werror,-Wdeprecated-declarations]
282 |     auto func = b.create<mir::FuncOp>(loc, f.getName());
|                   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir/IR/Builders.h:508:5: note: 'create<mlir::mir::FuncOp, llvm::StringRef>' has been explicitly marked deprecated here
508 |   [[deprecated("Use OpTy::create instead")]]
|     ^
8 errors generated.
```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the Mlir-commits mailing list