Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
0e716f5d
Commit
0e716f5d
authored
Jan 03, 2013
by
Christoph Mallon
Browse files
ia32: Remove pointless test.
An ia32 Load always loads into a GP register.
parent
11080c6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_optimize.c
View file @
0e716f5d
...
...
@@ -565,10 +565,6 @@ static void peephole_Load_IncSP_to_pop(ir_node *irn)
break
;
}
/* we can handle only GP loads */
if
(
!
mode_needs_gp_reg
(
get_ia32_ls_mode
(
node
)))
continue
;
/* it has to use our predecessor sp value */
if
(
get_irn_n
(
node
,
n_ia32_base
)
!=
pred_sp
)
{
/* it would be ok if this load does not use a Pop result,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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