]> granicus.if.org Git - llvm/commitdiff
Revert part of r308100 since the cause (r308025) was also reverted.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 18 Jul 2017 08:20:50 +0000 (08:20 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 18 Jul 2017 08:20:50 +0000 (08:20 +0000)
The commit r308100 updated WebAssembly tests for r308025. In one case it
merely made the test more resilient but in another case it made
a substantive update. Because r308025 was reverted in r308271, these
changes to the test also need to be reverted. They should be folded into
the recommit of r308025 when it is ready.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308273 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/WebAssembly/userstack.ll

index 2580771eb2cffdda42ad7680b6de255aead3591e..c160b391f6e814e7b25e9e9ac29372fccd1cf5f0 100644 (file)
@@ -36,13 +36,13 @@ define void @alloca3264() {
  ; CHECK-NEXT: tee_local $push[[L5:.+]]=, [[SP:.+]], $pop[[L6]]
  %r1 = alloca i32
  %r2 = alloca double
+ ; CHECK-NEXT: i32.const $push[[L0:.+]]=, 0
+ ; CHECK-NEXT: i32.store 12($pop[[L5]]), $pop[[L0]]
  store i32 0, i32* %r1
- store double 0.0, double* %r2
- ; CHECK-NEXT: i64.const $push[[L1:.+]]=, 0
- ; CHECK-NEXT: i64.store 0($pop[[L5]]), $pop[[L1]]
  ; CHECK-NEXT: get_local $push[[L2:.+]]=, [[SP]]{{$}}
- ; CHECK-NEXT: i32.const $push[[L0:.+]]=, 0
- ; CHECK-NEXT: i32.store 12($pop[[L2]]), $pop[[L0]]
+ ; CHECK-NEXT: i64.const $push[[L1:.+]]=, 0
+ ; CHECK-NEXT: i64.store 0($pop[[L2]]), $pop[[L1]]
+ store double 0.0, double* %r2
  ; CHECK-NEXT: return
  ret void
 }