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
6c4dfd76
Commit
6c4dfd76
authored
Aug 04, 2015
by
Christoph Mallon
Browse files
ia32: Remove unnecessary Proj from prefetch nodes.
They all have a single memory result.
parent
b1d47c45
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_spec.pl
View file @
6c4dfd76
...
...
@@ -270,6 +270,7 @@ my $prefetchop = {
state
=>
"
exc_pinned
",
in_reqs
=>
[
"
gp
",
"
gp
",
"
mem
"
],
out_reqs
=>
[
"
mem
"
],
mode
=>
mode_M
,
ins
=>
[
"
base
",
"
index
",
"
mem
"
],
outs
=>
[
"
M
"
],
};
...
...
ir/be/ia32/ia32_transform.c
View file @
6c4dfd76
...
...
@@ -5264,8 +5264,7 @@ static ir_node *gen_prefetch(ir_node *node)
set_address
(
new_node
,
&
addr
);
SET_IA32_ORIG_NODE
(
new_node
,
node
);
return
be_new_Proj
(
new_node
,
pn_ia32_Prefetch_M
);
return
new_node
;
}
/**
...
...
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