summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2016-09-16 20:58:31 +0000
committerDerek Schuff <dschuff@google.com>2016-09-16 20:58:31 +0000
commit3b04b7eba1b2c5710e41889624d6bb5d0aaee422 (patch)
treedab9b33f0d998fbd64f68ae12d95ebf2556c0efe /llvm/test
parente71a3f8ae18a3a1338c2eb5a4dfba2c56017d300 (diff)
downloadbcm5719-llvm-3b04b7eba1b2c5710e41889624d6bb5d0aaee422.tar.gz
bcm5719-llvm-3b04b7eba1b2c5710e41889624d6bb5d0aaee422.zip
[WebAssembly] Fix function types of CFGStackify tests
Make the function's declared type match its (lack of) return type llvm-svn: 281773
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/WebAssembly/cfg-stackify.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll b/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll
index 0990eb186d6..9a036228930 100644
--- a/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll
+++ b/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll
@@ -284,7 +284,7 @@ entry:
; OPT: i32.store $drop=, 0($0), $pop{{[0-9]+}}{{$}}
; OPT: br 0{{$}}
; OPT: .LBB7_2:
-define i32 @minimal_loop(i32* %p) {
+define void @minimal_loop(i32* %p) {
entry:
store volatile i32 0, i32* %p
br label %loop
@@ -429,7 +429,7 @@ exit:
; OPT: br 0{{$}}
; OPT: .LBB11_6:
; OPT-NEXT: end_loop{{$}}
-define i32 @doublediamond_in_a_loop(i32 %a, i32 %b, i32* %p) {
+define void @doublediamond_in_a_loop(i32 %a, i32 %b, i32* %p) {
entry:
br label %header
header:
@@ -774,7 +774,7 @@ u1:
; OPT-NEXT: br 0{{$}}
; OPT-NEXT: .LBB17_2:
; OPT-NEXT: end_loop{{$}}
-define i32 @test8() {
+define void @test8() {
bb:
br label %bb1
OpenPOWER on IntegriCloud