diff --git a/third_party/llvm/generated.patch b/third_party/llvm/generated.patch index 0d8fe66c2..509398da9 100644 --- a/third_party/llvm/generated.patch +++ b/third_party/llvm/generated.patch @@ -1,13 +1 @@ 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 ffa64781c..ad42b42a9 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 = "97298853b4de70dbce9c0a140ac38e3ac179e02e" - LLVM_SHA256 = "ac811cb61d281043c865c39260a5114a0e96d16ec0e4eb74a2516a24981b9064" + LLVM_COMMIT = "03730cdd3d10c5270fe436777a37d50b0838a3bf" + LLVM_SHA256 = "54d843249c75b200f7bf9b7947079fe16fa0b657c4aee4abdde4ac05a9cd5f84" tf_http_archive( name = name,