Skip to content

Commit 44f6942

Browse files
Bump LLVM and StableHLO (#2598)
Bump LLVM to `5e5a22caf88ac1ccfa8dc5720295fdeba0ad9372` and StableHLO to `83f095e7217c897f1eccac5652600ceb944cb0e0`. Bazel GHA: https://github.com/sjain-stanford/torch-mlir/actions/runs/7027647674
1 parent f7a92d3 commit 44f6942

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

externals/llvm-project

Submodule llvm-project updated 11276 files

externals/stablehlo

Submodule stablehlo updated 122 files

test/Conversion/TorchConversionToMLProgram/basic.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// CHECK: %[[NEXT_SEED:.*]] = arith.addi %[[MUL]], %[[INC]] : i64
1111
// CHECK: %[[INSERTED:.*]] = tensor.insert %[[NEXT_SEED]] into %[[GLOBAL]][] : tensor<i64>
1212
// CHECK: ml_program.global_store @global_seed = %[[INSERTED]] : tensor<i64>
13-
// CHECK: return %2 : i64
13+
// CHECK: return %[[NEXT_SEED]] : i64
1414
module {
1515
func.func @f() -> i64 {
1616
%seed = torch_c.get_next_seed : () -> i64

utils/bazel/WORKSPACE.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ llvm_configure(
3333
},
3434
targets = [
3535
"X86",
36+
# The bazel dependency graph for mlir-opt fails to load (at the analysis step) without the NVPTX
37+
# target in this list, because mlir/test:TestGPU depends on the //llvm:NVPTXCodeGen target,
38+
# which is not defined unless this is included.
39+
"NVPTX",
3640
],
3741
)
3842

0 commit comments

Comments
 (0)