[PATCH] D52388: [WebAssembly][NFC] Fix hardcoded stack indices in tests

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 24 16:46:28 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL342928: [WebAssembly][NFC] Fix hardcoded stack indices in tests (authored by tlively, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D52388

Files:
  llvm/trunk/test/CodeGen/WebAssembly/simd-arith.ll


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52388.166786.patch
Type: text/x-patch
Size: 1165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180924/d0ac96b8/attachment.bin>


More information about the llvm-commits mailing list