aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Passes/PassBuilderPipelines.cpp
diff options
context:
space:
mode:
authorDhruv Chawla <44582521+dc03@users.noreply.github.com>2023-08-23 17:43:34 +0530
committerDhruv Chawla <44582521+dc03@users.noreply.github.com>2023-09-20 12:08:52 +0530
commit3e992d81afc3925a8685eb15f794dd4a6ba3e97e (patch)
tree912f5c906aef1e817418e914e3e1153261dab129 /llvm/lib/Passes/PassBuilderPipelines.cpp
parent0104f37f1626057a856b57f8acdd2b7407a8b01f (diff)
downloadllvm-3e992d81afc3925a8685eb15f794dd4a6ba3e97e.zip
llvm-3e992d81afc3925a8685eb15f794dd4a6ba3e97e.tar.gz
llvm-3e992d81afc3925a8685eb15f794dd4a6ba3e97e.tar.bz2
[InferAlignment] Enable InferAlignment pass by default
This gives an improvement of 0.6%: https://llvm-compile-time-tracker.com/compare.php?from=7d35fe6d08e2b9b786e1c8454cd2391463832167&to=0456c8e8a42be06b62ad4c3e3cf34b21f2633d1e&stat=instructions:u Differential Revision: https://reviews.llvm.org/D158600
Diffstat (limited to 'llvm/lib/Passes/PassBuilderPipelines.cpp')
-rw-r--r--llvm/lib/Passes/PassBuilderPipelines.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Passes/PassBuilderPipelines.cpp b/llvm/lib/Passes/PassBuilderPipelines.cpp
index 529743c..29cf2f7 100644
--- a/llvm/lib/Passes/PassBuilderPipelines.cpp
+++ b/llvm/lib/Passes/PassBuilderPipelines.cpp
@@ -276,7 +276,7 @@ cl::opt<bool> EnableMemProfContextDisambiguation(
cl::ZeroOrMore, cl::desc("Enable MemProf context disambiguation"));
cl::opt<bool> EnableInferAlignmentPass(
- "enable-infer-alignment-pass", cl::init(false), cl::Hidden, cl::ZeroOrMore,
+ "enable-infer-alignment-pass", cl::init(true), cl::Hidden, cl::ZeroOrMore,
cl::desc("Enable the InferAlignment pass, disabling alignment inference in "
"InstCombine"));