diff --git a/llvm/test/CodeGen/WebAssembly/func.ll b/llvm/test/CodeGen/WebAssembly/func.ll index 97518ffa3ce41..2a12fcda8b023 100644 --- a/llvm/test/CodeGen/WebAssembly/func.ll +++ b/llvm/test/CodeGen/WebAssembly/func.ll @@ -7,7 +7,6 @@ target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: f0: ; CHECK: return{{$}} ; CHECK: end_function{{$}} -; CHECK: .size f0, define void @f0() { ret void } @@ -16,7 +15,7 @@ define void @f0() { ; CHECK-NEXT: .functype f1 () -> (i32){{$}} ; CHECK-NEXT: i32.const $push[[NUM:[0-9]+]]=, 0{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} -; CHECK: .size f1, +; CHECK: end_function{{$}} define i32 @f1() { ret i32 0 } @@ -25,7 +24,7 @@ define i32 @f1() { ; CHECK-NEXT: .functype f2 (i32, f32) -> (i32){{$}} ; CHECK-NEXT: i32.const $push[[NUM:[0-9]+]]=, 0{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} -; CHECK: .size f2, +; CHECK: end_function{{$}} define i32 @f2(i32 %p1, float %p2) { ret i32 0 } @@ -34,7 +33,7 @@ define i32 @f2(i32 %p1, float %p2) { ; CHECK-NEXT: .functype f3 (i32, f32) -> (){{$}} ; CHECK-NOT: local ; CHECK-NEXT: return{{$}} -; CHECK: .size f3, +; CHECK: end_function{{$}} define void @f3(i32 %p1, float %p2) { ret void } @@ -42,7 +41,7 @@ define void @f3(i32 %p1, float %p2) { ; CHECK-LABEL: f4: ; CHECK-NEXT: .functype f4 (i32) -> (i32){{$}} ; CHECK-NOT: local -; CHECK: .size f4, +; CHECK: end_function{{$}} define i32 @f4(i32 %x) { entry: %c = trunc i32 %x to i1 diff --git a/llvm/test/CodeGen/WebAssembly/globl.ll b/llvm/test/CodeGen/WebAssembly/globl.ll index 23a99330fcfc1..6762f11bb3448 100644 --- a/llvm/test/CodeGen/WebAssembly/globl.ll +++ b/llvm/test/CodeGen/WebAssembly/globl.ll @@ -5,7 +5,7 @@ target triple = "wasm32-unknown-unknown" ; CHECK: .globl foo ; CHECK: .type foo,@function ; CHECK-LABEL: foo: -; CHECK: .size foo, +; CHECK: end_function define i32* @foo() { ret i32* @bar }