From a62382cf1faa61849c1517ef78360e5ebd548621 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Tue, 6 Apr 2021 12:39:46 -0700 Subject: [PATCH] Integrate LLVM at llvm/llvm-project@0e92cbd6a652 Updates LLVM usage to match [0e92cbd6a652](https://github.com/llvm/llvm-project/commit/0e92cbd6a652) PiperOrigin-RevId: 367062980 --- WORKSPACE | 4 ++-- build_tools/llvm_version.txt | 2 +- lib/Dialect/mhlo/transforms/legalize_to_linalg.cc | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 1d02419..dfc1d15 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -15,9 +15,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -LLVM_COMMIT = "8e5f3d04f269dbe791076e775f1d1a098cbada01" +LLVM_COMMIT = "0e92cbd6a652c4f86fa76a3af2820009d5b6c300" -LLVM_SHA256 = "51f4950108027260a6dfeac4781fdad85dfde1d8594f8d26faea504e923ebcf2" +LLVM_SHA256 = "cac34f6de9b704259b26cfb4fa52ed9563330fc1dc01e1594266d4e00bafb91d" LLVM_BAZEL_TAG = "llvm-project-{commit}".format(commit = LLVM_COMMIT) diff --git a/build_tools/llvm_version.txt b/build_tools/llvm_version.txt index 1e198fe..df3340d 100644 --- a/build_tools/llvm_version.txt +++ b/build_tools/llvm_version.txt @@ -1,2 +1,2 @@ -8e5f3d04f269dbe791076e775f1d1a098cbada01 +0e92cbd6a652c4f86fa76a3af2820009d5b6c300 diff --git a/lib/Dialect/mhlo/transforms/legalize_to_linalg.cc b/lib/Dialect/mhlo/transforms/legalize_to_linalg.cc index 9a403e1..72f1304 100644 --- a/lib/Dialect/mhlo/transforms/legalize_to_linalg.cc +++ b/lib/Dialect/mhlo/transforms/legalize_to_linalg.cc @@ -1783,17 +1783,17 @@ struct ReduceWindowOpOnTensorsConversion switch (pooling_type) { case PoolingType::kMin: { pooling_op = - create_op(static_cast(nullptr)); + create_op(static_cast(nullptr)); break; } case PoolingType::kMax: { pooling_op = - create_op(static_cast(nullptr)); + create_op(static_cast(nullptr)); break; } case PoolingType::kAdd: { pooling_op = - create_op(static_cast(nullptr)); + create_op(static_cast(nullptr)); break; } case PoolingType::kInvalid: