Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
4ec158d9
Commit
4ec158d9
authored
Jun 12, 2015
by
Andreas Fried
Browse files
amd64: Run optimization after code selection.
The spiller crashes on some unoptimized Phi nodes.
parent
3c78c1b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/amd64/bearch_amd64.c
View file @
4ec158d9
...
...
@@ -22,6 +22,7 @@
#include
"gen_amd64_regalloc_if.h"
#include
"irarch_t.h"
#include
"irgmod.h"
#include
"irgopt.h"
#include
"irgwalk.h"
#include
"iropt_t.h"
#include
"irtools.h"
...
...
@@ -501,6 +502,10 @@ static void amd64_select_instructions(ir_graph *irg)
be_timer_pop
(
T_CODEGEN
);
be_dump
(
DUMP_BE
,
irg
,
"code-selection"
);
optimize_graph_df
(
irg
);
be_dump
(
DUMP_BE
,
irg
,
"opt"
);
}
static
void
introduce_epilogue
(
ir_node
*
ret
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment