Skip to content

Commit 1d61de4

Browse files
author
mlevesquedion
authored
1 parent b0ef72f commit 1d61de4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

WORKSPACE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ workspace(name = "stablehlo")
1717

1818
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
1919

20-
LLVM_COMMIT = "be15a6b3b68bed7b9d982f25b2e10a273302002a"
20+
LLVM_COMMIT = "e371ada409b225ea990b5ac0d5cafea26a6046e1"
2121

22-
LLVM_SHA256 = "1e6cc2eb634438a59fb5e1b87e7bb35883fb680dc2934f431150db22fb3a6c09"
22+
LLVM_SHA256 = "aba42d644bf580345c3628da27ea68c45db3973f1740432eff64372ef26daf62"
2323

2424
http_archive(
2525
name = "llvm-raw",

build_tools/llvm_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
be15a6b3b68bed7b9d982f25b2e10a273302002a
1+
e371ada409b225ea990b5ac0d5cafea26a6046e1

stablehlo/transforms/StablehloRefineShapes.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,12 @@ LogicalResult refineReturnTypes(PatternRewriter& rewriter, Operation* op,
147147
if (failed(refineValues(rewriter, op, op->getResults(), types)))
148148
return failure();
149149

150-
// This `replaceOpWithIf` call doesn't actually change the IR, but
150+
// This `replaceOpUsesWithIf` call doesn't actually change the IR, but
151151
// it does ask the rewriter to visit all the users of this op. There is no
152152
// upstream API to achieve this directly, but if it's introduced in the
153153
// future, we could use it here.
154-
rewriter.replaceOpWithIf(op, op->getResults(),
155-
[](OpOperand& use) { return false; });
154+
rewriter.replaceOpUsesWithIf(op, op->getResults(),
155+
[](OpOperand& use) { return false; });
156156
return success();
157157
}
158158

0 commit comments

Comments
 (0)