[llvm] r374259 - [WebAssembly] Fix tests missed in rL374235

Thomas Lively via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 16:06:38 PDT 2019


Author: tlively
Date: Wed Oct  9 16:06:38 2019
New Revision: 374259

URL: http://llvm.org/viewvc/llvm-project?rev=374259&view=rev
Log:
[WebAssembly] Fix tests missed in rL374235

Modified:
    llvm/trunk/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir
    llvm/trunk/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir
    llvm/trunk/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp

Modified: llvm/trunk/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir?rev=374259&r1=374258&r2=374259&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir (original)
+++ llvm/trunk/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir Wed Oct  9 16:06:38 2019
@@ -9,5 +9,5 @@ body: |
     liveins: $arguments
     ; CHECK: [[@LINE+1]]:24: expected integers after 'i'/'s'/'p' type character
     %0:i32 = CONST_I32 i 0, implicit-def dead $arguments
-    RETURN_VOID implicit-def dead $arguments
+    RETURN implicit-def dead $arguments
 ...

Modified: llvm/trunk/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir?rev=374259&r1=374258&r2=374259&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir (original)
+++ llvm/trunk/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir Wed Oct  9 16:06:38 2019
@@ -9,5 +9,5 @@ body: |
     liveins: $arguments
     ; CHECK: [[@LINE+1]]:24: a typed immediate operand should start with one of 'i', 's', or 'p'
     %0:i32 = CONST_I32 abc 0, implicit-def dead $arguments
-    RETURN_VOID implicit-def dead $arguments
+    RETURN implicit-def dead $arguments
 ...

Modified: llvm/trunk/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp?rev=374259&r1=374258&r2=374259&view=diff
==============================================================================
--- llvm/trunk/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp (original)
+++ llvm/trunk/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp Wed Oct  9 16:06:38 2019
@@ -132,7 +132,7 @@ body: |
   bb.7:
   ; predecessors: %bb.5, %bb.1
     liveins: $value_stack
-    RETURN_VOID implicit-def $arguments
+    RETURN implicit-def $arguments
 
   bb.8 (landing-pad):
   ; predecessors: %bb.4
@@ -307,7 +307,7 @@ body: |
   bb.9:
   ; predecessors: %bb.0, %bb.7
     liveins: $value_stack
-    RETURN_VOID implicit-def $arguments
+    RETURN implicit-def $arguments
 
   bb.10 (landing-pad):
   ; predecessors: %bb.4




More information about the llvm-commits mailing list