Skip to content

Commit

Permalink
Bump LLVM version
Browse files Browse the repository at this point in the history
This patch bumps the LLVM version, fixes associated fallout, and fixes
issue llvm#76 with an llvm-exegesis patch.
  • Loading branch information
boomanaiden154 committed Mar 22, 2024
1 parent 6827637 commit 659abdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ new_git_repository(

# LLVM and its dependencies

LLVM_COMMIT = "31ab2c4f616d686c06e9b573c8f1a4ae7ad2d8c3"
LLVM_COMMIT = "718fbbef5f18a2b7e7fc4f842b1452ae9bee581a"

LLVM_SHA256 = "4d2ed1cd8f1ce8b1a41002dfcac0ff0f12f0734cc5161192deecd5513e873af5"
LLVM_SHA256 = "e17b455b320e5c09acecadf2fb0f9ce471d6668382569132d2c7f144ca10bafa"

http_archive(
name = "llvm-raw",
Expand Down
6 changes: 3 additions & 3 deletions gematria/datasets/find_accessed_addrs_exegesis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Expected<std::unique_ptr<ExegesisAnnotator>> ExegesisAnnotator::create(

std::unique_ptr<const SnippetRepetitor> SnipRepetitor =
SnippetRepetitor::Create(Benchmark::RepetitionModeE::Duplicate,
ExegesisState);
ExegesisState, X86::R8);

return std::unique_ptr<ExegesisAnnotator>(new ExegesisAnnotator(
ExegesisState, std::move(*RunnerOrErr), std::move(SnipRepetitor)));
Expand Down Expand Up @@ -124,8 +124,8 @@ Expected<AccessedAddrs> ExegesisAnnotator::findAccessedAddrs(
}

while (true) {
std::unique_ptr<const SnippetRepetitor> SR =
SnippetRepetitor::Create(Benchmark::RepetitionModeE::Duplicate, State);
std::unique_ptr<const SnippetRepetitor> SR = SnippetRepetitor::Create(
Benchmark::RepetitionModeE::Duplicate, State, X86::R8);
Expected<BenchmarkRunner::RunnableConfiguration> RCOrErr =
Runner->getRunnableConfiguration(BenchCode, 10000, 0, *SR);

Expand Down

0 comments on commit 659abdc

Please sign in to comment.