summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2019-10-09 23:06:38 +0000
committerThomas Lively <tlively@google.com>2019-10-09 23:06:38 +0000
commit3414bce07aa11458971608de99c64d0c76aa3e0b (patch)
treedcbf41fff6895ac388160bc81d3e96f77d7a4a15
parentda6cb7ba4c730e2b9ff4fc8508981483c20a0ab5 (diff)
downloadbcm5719-llvm-3414bce07aa11458971608de99c64d0c76aa3e0b.tar.gz
bcm5719-llvm-3414bce07aa11458971608de99c64d0c76aa3e0b.zip
[WebAssembly] Fix tests missed in rL374235
llvm-svn: 374259
-rw-r--r--llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir2
-rw-r--r--llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir2
-rw-r--r--llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir b/llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir
index b9f138c14b0..72908711e9e 100644
--- a/llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir
+++ b/llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir
@@ -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
...
diff --git a/llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir b/llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir
index 03e722f6c3c..f5c16b52553 100644
--- a/llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir
+++ b/llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir
@@ -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
...
diff --git a/llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp b/llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
index 49a469bdef7..072742aab41 100644
--- a/llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
+++ b/llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
@@ -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
OpenPOWER on IntegriCloud