summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-20 16:30:28 +0000
committerDan Gohman <gohman@apple.com>2008-08-20 16:30:28 +0000
commit837c13a0299ea152724a7cff7af5261015a44f3d (patch)
tree5bc4a825505392de1ad3e908a43e16c665a16fa6 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent2da2bedc72614dde92d9a3deeebe83fe2e8f9893 (diff)
downloadbcm5719-llvm-837c13a0299ea152724a7cff7af5261015a44f3d.tar.gz
bcm5719-llvm-837c13a0299ea152724a7cff7af5261015a44f3d.zip
Disable DAGCombine's alignment inference in "fast" codegen mode.
llvm-svn: 55059
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index cb71f1aae01..f38b2ebaf79 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -5369,9 +5369,9 @@ void SelectionDAGISel::CodeGenAndEmitDAG(SelectionDAG &DAG) {
// Run the DAG combiner in pre-legalize mode.
if (TimePassesIsEnabled) {
NamedRegionTimer T("DAG Combining 1", GroupName);
- DAG.Combine(false, *AA);
+ DAG.Combine(false, *AA, Fast);
} else {
- DAG.Combine(false, *AA);
+ DAG.Combine(false, *AA, Fast);
}
DOUT << "Optimized lowered selection DAG:\n";
@@ -5413,9 +5413,9 @@ void SelectionDAGISel::CodeGenAndEmitDAG(SelectionDAG &DAG) {
// Run the DAG combiner in post-legalize mode.
if (TimePassesIsEnabled) {
NamedRegionTimer T("DAG Combining 2", GroupName);
- DAG.Combine(true, *AA);
+ DAG.Combine(true, *AA, Fast);
} else {
- DAG.Combine(true, *AA);
+ DAG.Combine(true, *AA, Fast);
}
DOUT << "Optimized legalized selection DAG:\n";
OpenPOWER on IntegriCloud