[lld] ac065b7 - [LLD] Fix tests after D96993

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 04:08:27 PST 2021


Author: Nikita Popov
Date: 2021-02-19T13:08:17+01:00
New Revision: ac065b7a37d6dd8daacd526f6c3a0d1563bc88ac

URL: https://github.com/llvm/llvm-project/commit/ac065b7a37d6dd8daacd526f6c3a0d1563bc88ac
DIFF: https://github.com/llvm/llvm-project/commit/ac065b7a37d6dd8daacd526f6c3a0d1563bc88ac.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...

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-commits mailing list