Skip to content

Commit f7f3e77

Browse files
Updates LLVM usage to match [13f7786f72d1](llvm/llvm-project@13f7786f72d1) PiperOrigin-RevId: 786058332
1 parent 3718024 commit f7f3e77

File tree

11 files changed

+9507
-6272
lines changed

11 files changed

+9507
-6272
lines changed

tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -432,13 +432,6 @@ def TFR_TFRFuncOp : TFR_Op<"func", [HasParent<"ModuleOp">,
432432
// region containing the composition.
433433
let regions = (region VariadicRegion<AnyRegion>:$body);
434434

435-
let skipDefaultBuilders = 1;
436-
437-
let builders = [
438-
OpBuilder<(ins "StringRef":$name, "FunctionType":$type,
439-
CArg<"ArrayRef<NamedAttribute>", "{}">:$attrs)>
440-
];
441-
442435
let extraClassDeclaration = [{
443436
LogicalResult verifyType() { return success(); }
444437

tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -372,13 +372,6 @@ def ExecuteOp : FallbackAsync_Op<"executeop",
372372
void getOpAttrs(SmallVectorImpl<std::pair<::llvm::StringRef, ::mlir::Attribute>>* op_attrs);
373373
}];
374374

375-
let builders = [
376-
OpBuilder<(ins "ArrayRef<Type>":$results, "ValueRange":$args,
377-
"StringRef":$device,
378-
"::llvm::ArrayRef<std::pair<::llvm::StringRef, ::mlir::Attribute>>":$op_attrs,
379-
"::llvm::ArrayRef<std::pair<::llvm::StringRef, ::mlir::Attribute>>":$op_func_attrs,
380-
"int64_t":$op_key, "::llvm::StringRef":$op_name, "int64_t":$_tfrt_cost)>];
381-
382375
let hasVerifier = 1;
383376
let hasCustomAssemblyFormat = 1;
384377
}

third_party/xla/third_party/llvm/generated.patch

Lines changed: 3173 additions & 2951 deletions
Large diffs are not rendered by default.

third_party/xla/third_party/llvm/memcpy.patch

Lines changed: 0 additions & 62 deletions
This file was deleted.

third_party/xla/third_party/llvm/workspace.bzl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ load("//third_party:repo.bzl", "tf_http_archive")
44

55
def repo(name):
66
"""Imports LLVM."""
7-
LLVM_COMMIT = "0a343098b0ea300b75f16596db2dc32a55007546"
8-
LLVM_SHA256 = "7865992af73fceffb9ddb823eea5987698d9e98e8ed7a4a0a214caae8d2771f9"
7+
LLVM_COMMIT = "13f7786f72d13a84dfc3d49d87a70e6a05f21fd4"
8+
LLVM_SHA256 = "444620f561a7ab1ccaa310b7ba5cdc82c61ff534b6e60b00cb58e779a24cb3bd"
99

1010
tf_http_archive(
1111
name = name,
@@ -20,7 +20,6 @@ def repo(name):
2020
"//third_party/llvm:generated.patch", # Autogenerated, don't remove.
2121
"//third_party/llvm:build.patch",
2222
"//third_party/llvm:mathextras.patch",
23-
"//third_party/llvm:memcpy.patch",
2423
"//third_party/llvm:toolchains.patch",
2524
"//third_party/llvm:zstd.patch",
2625
],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy