mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Reapply r60997, this time without forgetting that
target constants are allowed to have an illegal type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61006 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -620,9 +620,9 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
|
||||
|
||||
if (TimePassesIsEnabled) {
|
||||
NamedRegionTimer T("DAG Legalization", GroupName);
|
||||
CurDAG->Legalize();
|
||||
CurDAG->Legalize(DisableLegalizeTypes);
|
||||
} else {
|
||||
CurDAG->Legalize();
|
||||
CurDAG->Legalize(DisableLegalizeTypes);
|
||||
}
|
||||
|
||||
DOUT << "Legalized selection DAG:\n";
|
||||
|
Reference in New Issue
Block a user