@@ -581,7 +581,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
581581
582582 ISEL_DUMP (dbgs () << " \n\n\n === " << FuncName << ' \n ' );
583583
584- SDB->init (GFI, CurrentBatchAA (), AC, LibInfo);
584+ SDB->init (GFI, getBatchAA (), AC, LibInfo);
585585
586586 MF->setHasInlineAsm (false );
587587
@@ -955,7 +955,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
955955 {
956956 NamedRegionTimer T (" combine1" , " DAG Combining 1" , GroupName,
957957 GroupDescription, TimePassesIsEnabled);
958- CurDAG->Combine (BeforeLegalizeTypes, CurrentBatchAA (), OptLevel);
958+ CurDAG->Combine (BeforeLegalizeTypes, getBatchAA (), OptLevel);
959959 }
960960
961961 ISEL_DUMP (dbgs () << " \n Optimized lowered selection DAG: "
@@ -1001,7 +1001,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
10011001 {
10021002 NamedRegionTimer T (" combine_lt" , " DAG Combining after legalize types" ,
10031003 GroupName, GroupDescription, TimePassesIsEnabled);
1004- CurDAG->Combine (AfterLegalizeTypes, CurrentBatchAA (), OptLevel);
1004+ CurDAG->Combine (AfterLegalizeTypes, getBatchAA (), OptLevel);
10051005 }
10061006
10071007 ISEL_DUMP (dbgs () << " \n Optimized type-legalized selection DAG: "
@@ -1055,7 +1055,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
10551055 {
10561056 NamedRegionTimer T (" combine_lv" , " DAG Combining after legalize vectors" ,
10571057 GroupName, GroupDescription, TimePassesIsEnabled);
1058- CurDAG->Combine (AfterLegalizeVectorOps, CurrentBatchAA (), OptLevel);
1058+ CurDAG->Combine (AfterLegalizeVectorOps, getBatchAA (), OptLevel);
10591059 }
10601060
10611061 ISEL_DUMP (dbgs () << " \n Optimized vector-legalized selection DAG: "
@@ -1095,7 +1095,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
10951095 {
10961096 NamedRegionTimer T (" combine2" , " DAG Combining 2" , GroupName,
10971097 GroupDescription, TimePassesIsEnabled);
1098- CurDAG->Combine (AfterLegalizeDAG, CurrentBatchAA (), OptLevel);
1098+ CurDAG->Combine (AfterLegalizeDAG, getBatchAA (), OptLevel);
10991099 }
11001100
11011101 ISEL_DUMP (dbgs () << " \n Optimized legalized selection DAG: "
0 commit comments