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
This commit is contained in:
Dan Gohman
2008-08-20 16:30:28 +00:00
parent b8d2f550b8
commit a267651b7e
3 changed files with 13 additions and 10 deletions

View File

@ -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";