[lld] r339490 - Fix WebAssembly tests after r339474

Richard Trieu via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 10 16:58:11 PDT 2018


Author: rtrieu
Date: Fri Aug 10 16:58:11 2018
New Revision: 339490

URL: http://llvm.org/viewvc/llvm-project?rev=339490&view=rev
Log:
Fix WebAssembly tests after r339474

Add flags to llc RUN lines to keep tests passing.

Modified:
    lld/trunk/test/wasm/call-indirect.ll
    lld/trunk/test/wasm/compress-relocs.ll

Modified: lld/trunk/test/wasm/call-indirect.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/call-indirect.ll?rev=339490&r1=339489&r2=339490&view=diff
==============================================================================
--- lld/trunk/test/wasm/call-indirect.ll (original)
+++ lld/trunk/test/wasm/call-indirect.ll Fri Aug 10 16:58:11 2018
@@ -1,5 +1,5 @@
-; RUN: llc -filetype=obj %p/Inputs/call-indirect.ll -o %t2.o
-; RUN: llc -filetype=obj %s -o %t.o
+; RUN: llc -filetype=obj %p/Inputs/call-indirect.ll -o %t2.o -wasm-explicit-locals-codegen-test-mode
+; RUN: llc -filetype=obj %s -o %t.o -wasm-explicit-locals-codegen-test-mode
 ; RUN: wasm-ld -o %t.wasm %t2.o %t.o
 ; RUN: obj2yaml %t.wasm | FileCheck %s
 

Modified: lld/trunk/test/wasm/compress-relocs.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/compress-relocs.ll?rev=339490&r1=339489&r2=339490&view=diff
==============================================================================
--- lld/trunk/test/wasm/compress-relocs.ll (original)
+++ lld/trunk/test/wasm/compress-relocs.ll Fri Aug 10 16:58:11 2018
@@ -1,5 +1,5 @@
-; RUN: llc -filetype=obj %p/Inputs/call-indirect.ll -o %t2.o
-; RUN: llc -filetype=obj %s -o %t.o
+; RUN: llc -filetype=obj %p/Inputs/call-indirect.ll -o %t2.o -wasm-explicit-locals-codegen-test-mode
+; RUN: llc -filetype=obj %s -o %t.o -wasm-explicit-locals-codegen-test-mode
 ; RUN: wasm-ld -o %t.wasm %t2.o %t.o
 ; RUN: obj2yaml %t.wasm | FileCheck %s
 




More information about the llvm-commits mailing list