From b80724468ddd3d9be71b02d001d18a3ed395d717 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Thu, 14 Nov 2024 07:06:39 -0800 Subject: [PATCH] Integrate LLVM at llvm/llvm-project@97298853b4de Updates LLVM usage to match [97298853b4de](https://github.com/llvm/llvm-project/commit/97298853b4de) PiperOrigin-RevId: 696509493 --- third_party/llvm/generated.patch | 12 ++++++++++++ third_party/llvm/workspace.bzl | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/third_party/llvm/generated.patch b/third_party/llvm/generated.patch index 509398da9..0d8fe66c2 100644 --- a/third_party/llvm/generated.patch +++ b/third_party/llvm/generated.patch @@ -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); diff --git a/third_party/llvm/workspace.bzl b/third_party/llvm/workspace.bzl index cb6697add..ffa64781c 100644 --- a/third_party/llvm/workspace.bzl +++ b/third_party/llvm/workspace.bzl @@ -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,