mirror of
git://c9x.me/qbe.git
synced 2026-04-07 10:59:47 +00:00
test comparison elimination in isel
This commit is contained in:
parent
1b27215003
commit
7e1db6cc65
@ -7,8 +7,8 @@ function $test() {
|
|||||||
@loop
|
@loop
|
||||||
%s =w phi @start 0, @loop %s1
|
%s =w phi @start 0, @loop %s1
|
||||||
%n =w phi @start 100, @loop %n1
|
%n =w phi @start 100, @loop %n1
|
||||||
%n1 =w sub %n, 1
|
|
||||||
%s1 =w add %s, %n
|
%s1 =w add %s, %n
|
||||||
|
%n1 =w sub %n, 1
|
||||||
jnz %n1, @loop, @end
|
jnz %n1, @loop, @end
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user