diff --git a/bazel/import_llvm.bzl b/bazel/import_llvm.bzl index 2b1b7efd8..bf7a58f45 100644 --- a/bazel/import_llvm.bzl +++ b/bazel/import_llvm.bzl @@ -7,7 +7,7 @@ load( def import_llvm(name): """Imports LLVM.""" - LLVM_COMMIT = "97298853b4de70dbce9c0a140ac38e3ac179e02e" + LLVM_COMMIT = "03730cdd3d10c5270fe436777a37d50b0838a3bf" new_git_repository( name = name, diff --git a/patches/llvm.patch b/patches/llvm.patch index 0d8fe66c2..509398da9 100644 --- a/patches/llvm.patch +++ b/patches/llvm.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);