From 9d0b7a9236933fa3cc7d18bde963e9ef71f93fef Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Wed, 9 Oct 2019 23:06:38 +0000 Subject: [PATCH] [WebAssembly] Fix tests missed in rL374235 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374259 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../MIR/WebAssembly/typed-immediate-operand-invalid0.mir | 2 +- .../MIR/WebAssembly/typed-immediate-operand-invalid1.mir | 2 +- unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir b/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir index b9f138c14b0..72908711e9e 100644 --- a/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir +++ b/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/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir b/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir index 03e722f6c3c..f5c16b52553 100644 --- a/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir +++ b/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/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp b/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp index 49a469bdef7..072742aab41 100644 --- a/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp +++ b/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 -- 2.40.0