-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[MachineSink][AArch64] Enable sink-and-fold by default #72132
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
[MachineSink][AArch64] Enable sink-and-fold by default #72132
Conversation
Enable the optimisation by default for AArch64 after a compile time regressoin fix in e8209b2
@llvm/pr-subscribers-backend-aarch64 Author: Momchil Velikov (momchil-velikov) ChangesEnable the optimisation by default for AArch64 after a compile time regressoin fix in e8209b2 Full diff: https://github.com/llvm/llvm-project/pull/72132.diff 1 Files Affected:
diff --git a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
index 3d818c76bd4b7d7..fcc30a7cfceaf47 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(false), cl::Hidden);
+ cl::init(true), cl::Hidden);
extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAArch64Target() {
// Register the target.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the last debug info being fixed, this still LGTM. Thanks for pushing this through.
(You can probably remove the command line from llvm/test/CodeGen/AArch64/sink-and-fold.ll again).
Hello! It looks like this patch broke lldb-aarch64-ubuntu : https://lab.llvm.org/buildbot/#/builders/96/builds/48609 |
This reverts commit 13fe038.
This reverts commit 13fe038. May have broken an LLDB test https://lab.llvm.org/buildbot/#/builders/96/builds/48609
Enable the optimisation by default for AArch64 after a compile time regressoin fix in e8209b2
…72132)" This reverts commit 13fe038. May have broken an LLDB test https://lab.llvm.org/buildbot/#/builders/96/builds/48609
Enable the optimisation by default for AArch64 after a compile time regressoin fix in e8209b2
…72132)" This reverts commit 13fe038. May have broken an LLDB test https://lab.llvm.org/buildbot/#/builders/96/builds/48609
Another potential problem, I'm afraid. Seen in https://green.lab.llvm.org/green/job/test-suite-verify-machineinstrs-aarch64-O3, but I think this reduced case still shows it:
compiled with |
Looking at it... |
Addressed in #75072 |
Enable the optimisation by default for AArch64 after a compile time regressoin fix in e8209b2