Skip to content

Commit

Permalink
Bump LLVM and StableHLO (#2598)
Browse files Browse the repository at this point in the history
Bump LLVM to `5e5a22caf88ac1ccfa8dc5720295fdeba0ad9372` and StableHLO to
`83f095e7217c897f1eccac5652600ceb944cb0e0`.

Bazel GHA:
https://github.com/sjain-stanford/torch-mlir/actions/runs/7027647674
  • Loading branch information
sjain-stanford committed Nov 29, 2023
1 parent f7a92d3 commit 44f6942
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion externals/llvm-project
Submodule llvm-project updated 11276 files
2 changes: 1 addition & 1 deletion externals/stablehlo
Submodule stablehlo updated 122 files
2 changes: 1 addition & 1 deletion test/Conversion/TorchConversionToMLProgram/basic.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// CHECK: %[[NEXT_SEED:.*]] = arith.addi %[[MUL]], %[[INC]] : i64
// CHECK: %[[INSERTED:.*]] = tensor.insert %[[NEXT_SEED]] into %[[GLOBAL]][] : tensor<i64>
// CHECK: ml_program.global_store @global_seed = %[[INSERTED]] : tensor<i64>
// CHECK: return %2 : i64
// CHECK: return %[[NEXT_SEED]] : i64
module {
func.func @f() -> i64 {
%seed = torch_c.get_next_seed : () -> i64
Expand Down
4 changes: 4 additions & 0 deletions utils/bazel/WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ llvm_configure(
},
targets = [
"X86",
# The bazel dependency graph for mlir-opt fails to load (at the analysis step) without the NVPTX
# target in this list, because mlir/test:TestGPU depends on the //llvm:NVPTXCodeGen target,
# which is not defined unless this is included.
"NVPTX",
],
)

Expand Down

0 comments on commit 44f6942

Please sign in to comment.