Skip to content

[AArch64] Disable by default MachineSink sink-and-fold #70101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

momchil-velikov
Copy link
Collaborator

There is a report about a large compile time regression in V8 when generating debug info.

There is a report about a large compile time regression in V8
when generating debug info.
@llvmbot
Copy link
Member

llvmbot commented Oct 24, 2023

@llvm/pr-subscribers-backend-aarch64

Author: Momchil Velikov (momchil-velikov)

Changes

There is a report about a large compile time regression in V8 when generating debug info.


Full diff: https://github.com/llvm/llvm-project/pull/70101.diff

1 Files Affected:

  • (modified) llvm/lib/Target/AArch64/AArch64TargetMachine.cpp (+1-1)
diff --git a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
index fcc30a7cfceaf47..3d818c76bd4b7d7 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
@@ -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.

@momchil-velikov momchil-velikov merged commit 9d35387 into llvm:main Oct 25, 2023
@bgra8
Copy link
Contributor

bgra8 commented Oct 26, 2023

Thanks @momchil-velikov ! My reducer is still running. I needed to trace back a few times as it went on a bad path.

I hope to have the reduced test case tomorrow.

@momchil-velikov momchil-velikov deleted the sink-and-fold-hotfix branch November 11, 2023 15:49
@aeubanks
Copy link
Contributor

@bgra8 any reduced test case?

We've bisected a size regression to this commit.

@aeubanks
Copy link
Contributor

@bgra8 any reduced test case?

We've bisected a size regression to this commit.

Ah I see the discussion on #67432

@momchil-velikov
Copy link
Collaborator Author

@bgra8 any reduced test case?
We've bisected a size regression to this commit.

Ah I see the discussion on #67432

I'm working to re-enable it by default, after #72685

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants