[LLD] Fix tests after D96993

We now need mustprogress to eliminate these calls. The code doesn't
really make sense, but that's not the point of the test...
This commit is contained in:
Nikita Popov 2021-02-19 13:06:45 +01:00
parent 53367b8fe1
commit ac065b7a37
2 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ target triple = "x86_64-unknown-linux-gnu"
; CHECK0-NOT: bar
; CHECK0: T foo
; CHECK0-NOT: bar
define void @foo() {
define void @foo() mustprogress {
call void @bar()
ret void
}
@ -22,7 +22,7 @@ define void @foo() {
; CHECK1-NOT: foo
; CHECK1: T bar
; CHECK1-NOT: foo
define void @bar() {
define void @bar() mustprogress {
call void @foo()
ret void
}

View File

@ -10,7 +10,7 @@ target triple = "wasm32-unknown-unknown-wasm"
; CHECK0-NOT: bar
; CHECK0: T foo
; CHECK0-NOT: bar
define void @foo() {
define void @foo() mustprogress {
call void @bar()
ret void
}
@ -18,7 +18,7 @@ define void @foo() {
; CHECK1-NOT: foo
; CHECK1: T bar
; CHECK1-NOT: foo
define void @bar() {
define void @bar() mustprogress {
call void @foo()
ret void
}