[llvm-branch-commits] [lld] 17daef8 - [LLD] Fix tests after D96993

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Feb 19 16:32:39 PST 2021


Author: Nikita Popov
Date: 2021-02-19T16:32:09-08:00
New Revision: 17daef8bfdfd3a78465122f968a93df6db42dca6

URL: https://github.com/llvm/llvm-project/commit/17daef8bfdfd3a78465122f968a93df6db42dca6
DIFF: https://github.com/llvm/llvm-project/commit/17daef8bfdfd3a78465122f968a93df6db42dca6.diff

LOG: [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...

(cherry picked from commit ac065b7a37d6dd8daacd526f6c3a0d1563bc88ac)

Added: 
    

Modified: 
    lld/test/ELF/lto/parallel.ll
    lld/test/wasm/lto/parallel.ll

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/lto/parallel.ll b/lld/test/ELF/lto/parallel.ll
index d9cb4fed7bfa..d89431e8b4a1 100644
--- a/lld/test/ELF/lto/parallel.ll
+++ b/lld/test/ELF/lto/parallel.ll
@@ -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
 }

diff  --git a/lld/test/wasm/lto/parallel.ll b/lld/test/wasm/lto/parallel.ll
index a93c3558d969..261cf2ef7dae 100644
--- a/lld/test/wasm/lto/parallel.ll
+++ b/lld/test/wasm/lto/parallel.ll
@@ -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
 }


        


More information about the llvm-branch-commits mailing list