Replace newly inserted fallthrough by jump.

This commit is contained in:
Nicolas B. Pierron
2019-07-04 19:38:45 +02:00
committed by Nicolas B. Pierron
parent 8bfdfbe68b
commit f431465802
14 changed files with 134 additions and 134 deletions

View File

@@ -39,7 +39,7 @@ ebb0(v0: i32):
v19 = iadd v18, v2
v20 = iadd.i32 v2, v3
[SBzero#18] brz.i32 v1, ebb1(v20)
fallthrough ebb7
[UJ#1b] jump ebb7
ebb7:
[Iret#19] return v19
@@ -89,7 +89,7 @@ ebb0(v0: i32):
; nextln: ebb6(v18: i32):
; nextln: v19 = iadd v18, v2
; nextln: brz.i32 v1, ebb1(v20)
; nextln: fallthrough ebb7
; nextln: jump ebb7
; nextln:
; nextln: ebb7:
; nextln: return v19

View File

@@ -7,7 +7,7 @@ function %critical_edge(i32, i32) -> i32 {
ebb0(v0: i32, v7: i32):
[SBzero#38] brnz v7, ebb2(v0)
[-] fallthrough ebb1
[UJ#1b] jump ebb1
ebb1:
[Iret#19] return v0
@@ -30,7 +30,7 @@ function %critical_edge(i32, i32) -> i32 {
; sameln: function %critical_edge
; nextln: ebb0(v0: i32, v7: i32):
; nextln: brnz v7, ebb5(v0)
; nextln: fallthrough ebb1
; nextln: jump ebb1
; nextln:
; nextln: ebb1:
; nextln: return v0