[WebAssembly] Use the new offset syntax for memory operands in inline asm.
[oota-llvm.git] / test / CodeGen / Thumb / 2011-EpilogueBug.ll
1 ; RUN: llc -mtriple=thumbv6-apple-darwin < %s | FileCheck %s
2 ; r8869722
3
4 %struct.state = type { i32, %struct.info*, float**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i8* }
5 %struct.info = type { i32, i32, i32, i32, i32, i32, i32, i8* }
6
7 define void @t1(%struct.state* %v) {
8 ; CHECK: push {r4
9   %tmp6 = load i32, i32* null
10   %tmp8 = alloca float, i32 %tmp6
11   store i32 1, i32* null
12   br label %return
13
14 return:                                           ; preds = %0
15 ; CHECK: mov sp, r4
16   ret void
17 }