1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00

[WebAssembly][NFC] Fix hardcoded stack indices in tests

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D52388

llvm-svn: 342928
This commit is contained in:
Thomas Lively 2018-09-24 23:42:07 +00:00
parent 926bd94135
commit 71304ebc01

View File

@ -671,8 +671,8 @@ define <4 x float> @neg_v4f32(<4 x float> %x) {
; NO-SIMD128-NOT: f32x4 ; NO-SIMD128-NOT: f32x4
; SIMD128-NEXT: .param v128{{$}} ; SIMD128-NEXT: .param v128{{$}}
; SIMD128-NEXT: .result v128{{$}} ; SIMD128-NEXT: .result v128{{$}}
; SIMD128-NEXT: f32x4.abs $push0=, $0{{$}} ; SIMD128-NEXT: f32x4.abs $push[[R:[0-9]+]]=, $0{{$}}
; SIMD128-NEXT: return $pop0{{$}} ; SIMD128-NEXT: return $pop[[R]]{{$}}
declare <4 x float> @llvm.fabs.v4f32(<4 x float>) nounwind readnone declare <4 x float> @llvm.fabs.v4f32(<4 x float>) nounwind readnone
define <4 x float> @abs_v4f32(<4 x float> %x) { define <4 x float> @abs_v4f32(<4 x float> %x) {
%a = call <4 x float> @llvm.fabs.v4f32(<4 x float> %x) %a = call <4 x float> @llvm.fabs.v4f32(<4 x float> %x)
@ -741,8 +741,8 @@ define <2 x double> @neg_v2f64(<2 x double> %x) {
; NO-SIMD128-NOT: f64x2 ; NO-SIMD128-NOT: f64x2
; SIMD128-NEXT: .param v128{{$}} ; SIMD128-NEXT: .param v128{{$}}
; SIMD128-NEXT: .result v128{{$}} ; SIMD128-NEXT: .result v128{{$}}
; SIMD128-NEXT: f64x2.abs $push0=, $0{{$}} ; SIMD128-NEXT: f64x2.abs $push[[R:[0-9]+]]=, $0{{$}}
; SIMD128-NEXT: return $pop0{{$}} ; SIMD128-NEXT: return $pop[[R]]{{$}}
declare <2 x double> @llvm.fabs.v2f64(<2 x double>) nounwind readnone declare <2 x double> @llvm.fabs.v2f64(<2 x double>) nounwind readnone
define <2 x double> @abs_v2f64(<2 x double> %x) { define <2 x double> @abs_v2f64(<2 x double> %x) {
%a = call <2 x double> @llvm.fabs.v2f64(<2 x double> %x) %a = call <2 x double> @llvm.fabs.v2f64(<2 x double> %x)