[llvm] [MachineSink][AArch64] Enable sink-and-fold by default (PR #72132)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 13 08:30:28 PST 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-aarch64
Author: Momchil Velikov (momchil-velikov)
<details>
<summary>Changes</summary>
Enable the optimisation by default for AArch64 after a compile time regressoin fix in e8209b2486d8
---
Full diff: https://github.com/llvm/llvm-project/pull/72132.diff
1 Files Affected:
- (modified) llvm/lib/Target/AArch64/AArch64TargetMachine.cpp (+1-1)
``````````diff
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.
``````````
</details>
https://github.com/llvm/llvm-project/pull/72132
More information about the llvm-commits
mailing list