Updates LLVM usage to match
[3f3f88fb9503](https://github.com/llvm/llvm-project/commit/3f3f88fb9503)

PiperOrigin-RevId: 361762801
This commit is contained in:
Benjamin Kramer 2021-03-09 02:18:06 -08:00 committed by TensorFlow MLIR Team
parent daf6bde6f5
commit 5be8be31b5
3 changed files with 4 additions and 4 deletions

View File

@ -15,9 +15,9 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
LLVM_COMMIT = "c9ff39a3f9840c84453f23a37386a3dc374f055a"
LLVM_COMMIT = "3f3f88fb95033b0461f14bc32b2d4267e06edba0"
LLVM_SHA256 = "ff9a8f2dc17a3da7ebcfd46bc058d6ea170ab43ac6530767cec227cd28765305"
LLVM_SHA256 = "2ab224331e9911a43a0c404503c2c4b91282aa7f0f6c66e07dd7ec61d5b4aa14"
LLVM_BAZEL_TAG = "llvm-project-{commit}".format(commit = LLVM_COMMIT)

View File

@ -1,2 +1,2 @@
c9ff39a3f9840c84453f23a37386a3dc374f055a
3f3f88fb95033b0461f14bc32b2d4267e06edba0

View File

@ -533,7 +533,7 @@ struct MhloFusionPass : public mlir::PassWrapper<MhloFusionPass, FunctionPass> {
locations.push_back(op->getLoc());
}
Location fused_loc =
FusedLoc::get(locations, pattern.back()->getContext());
FusedLoc::get(pattern.back()->getContext(), locations);
SmallVector<Value, 4> inputs = GetInputsOfFusionPattern(pattern);
SmallVector<Value, 4> outputs = GetOutputsOfFusionPattern(pattern);