diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-20 16:30:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-20 16:30:28 +0000 |
commit | a267651b7ec4f96e01b31f541d446758bf8da8a9 (patch) | |
tree | eb7f679364a41131c4f4fdc7f8e34c8edf898c26 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | b8d2f550b84523e8a73198f98e5d450ec3b4fee7 (diff) |
Disable DAGCombine's alignment inference in "fast" codegen mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index cb71f1aae0..f38b2ebaf7 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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"; |