Skip to content

Commit

Permalink
Revert "[MachineSink][AArch64] Enable sink-and-fold by default (#72132)"
Browse files Browse the repository at this point in the history
This reverts commit 13fe038.

May have broken an LLDB test https://lab.llvm.org/buildbot/#/builders/96/builds/48609
  • Loading branch information
momchil-velikov committed Nov 16, 2023
1 parent 699e101 commit 4ac5b0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static cl::opt<bool> EnableGISelLoadStoreOptPostLegal(
static cl::opt<bool>
EnableSinkFold("aarch64-enable-sink-fold",
cl::desc("Enable sinking and folding of instruction copies"),
cl::init(true), cl::Hidden);
cl::init(false), cl::Hidden);

extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAArch64Target() {
// Register the target.
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/AArch64/sink-and-fold.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s | FileCheck %s
; RUN: llc -aarch64-enable-sink-fold=true < %s | FileCheck %s
target triple = "aarch64-linux"

declare i32 @use(...)
Expand Down

0 comments on commit 4ac5b0d

Please sign in to comment.