Skip to content

Commit

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

PiperOrigin-RevId: 696672457
  • Loading branch information
HEIR Team authored and copybara-github committed Nov 14, 2024
1 parent f9e3996 commit 877901b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion bazel/import_llvm.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ load(

def import_llvm(name):
"""Imports LLVM."""
LLVM_COMMIT = "97298853b4de70dbce9c0a140ac38e3ac179e02e"
LLVM_COMMIT = "03730cdd3d10c5270fe436777a37d50b0838a3bf"

new_git_repository(
name = name,
Expand Down
12 changes: 0 additions & 12 deletions patches/llvm.patch
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 877901b

Please sign in to comment.