Skip to content

Commit

Permalink
Integrate LLVM at llvm/llvm-project@97298853b4de
Browse files Browse the repository at this point in the history
Updates LLVM usage to match
[97298853b4de](llvm/llvm-project@97298853b4de)

PiperOrigin-RevId: 696509493
  • Loading branch information
tensorflower-gardener authored and copybara-github committed Nov 14, 2024
1 parent d08db91 commit b807244
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions third_party/llvm/generated.patch
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
Auto generated patch. Do not edit or delete it, even if empty.
diff -ruN --strip-trailing-cr a/llvm/lib/Transforms/Utils/CodeExtractor.cpp b/llvm/lib/Transforms/Utils/CodeExtractor.cpp
--- a/llvm/lib/Transforms/Utils/CodeExtractor.cpp
+++ b/llvm/lib/Transforms/Utils/CodeExtractor.cpp
@@ -1465,7 +1465,7 @@
: Suffix;

ValueSet StructValues;
- StructType *StructTy;
+ StructType *StructTy = nullptr;
Function *newFunction = constructFunctionDeclaration(
inputs, outputs, EntryFreq, oldFunction->getName() + "." + SuffixToUse,
StructValues, StructTy);
4 changes: 2 additions & 2 deletions third_party/llvm/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ load("//third_party:repo.bzl", "tf_http_archive")

def repo(name):
"""Imports LLVM."""
LLVM_COMMIT = "01d233ff403823389f8480897e41aea84ecbb3d3"
LLVM_SHA256 = "283a1d9c251d5028ae78f7a659816588fedaa6a8ba5733bee7249724fb3ed2bc"
LLVM_COMMIT = "97298853b4de70dbce9c0a140ac38e3ac179e02e"
LLVM_SHA256 = "ac811cb61d281043c865c39260a5114a0e96d16ec0e4eb74a2516a24981b9064"

tf_http_archive(
name = name,
Expand Down

0 comments on commit b807244

Please sign in to comment.