Skip to content

Commit 4e51e25

Browse files
Muthu Annamalaijmgorius
authored andcommitted
[mlir]: Update for LLVM repo on March 2026
- Update SHAID of LLVM - Update LLVM SHAID
1 parent 5bb8fe4 commit 4e51e25

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and test
33
on: [push, pull_request]
44

55
env:
6-
LLVM_COMMIT: 7dad7ab3c0d29fb9c6b0cf591889789a3cdbcc0a
6+
LLVM_COMMIT: eabcfcee0803c72baa22f1209066b8a9f50076e4
77
CMAKE_FLAGS: '-DCMAKE_LINKER=lld -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DMLIR_DIR=$GITHUB_WORKSPACE/llvm-project/prefix/lib/cmake/mlir/ -DLLVM_DIR=$GITHUB_WORKSPACE/llvm-project/prefix/lib/cmake/llvm/ -DLLVM_EXTERNAL_LIT=$GITHUB_WORKSPACE/llvm-project/build/bin/llvm-lit'
88

99
jobs:

standalone-opt/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set(LIBS
55
${conversion_libs}
66
MLIROptLib
77
MLIRStandalone
8+
MLIRRegisterAllDialects
9+
MLIRRegisterAllPasses
810
)
911
add_llvm_executable(standalone-opt standalone-opt.cpp)
1012

standalone-opt/standalone-opt.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
#include "mlir/IR/Dialect.h"
1010
#include "mlir/IR/MLIRContext.h"
11+
#include "mlir/Dialect/Func/IR/FuncOps.h"
12+
#include "mlir/Dialect/Arith/IR/Arith.h"
1113
#include "mlir/InitAllDialects.h"
1214
#include "mlir/InitAllPasses.h"
1315
#include "mlir/Pass/Pass.h"

0 commit comments

Comments
 (0)