1; RUN: llc -march=arm64 -aarch64-dead-def-elimination=false < %s | FileCheck %s
2
3target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
4target triple = "arm64-apple-ios7.0.0"
5
6; Function Attrs: nounwind ssp uwtable
7define i32 @test1() #0 {
8  %tmp1 = alloca i8
9  %tmp2 = icmp eq i8* %tmp1, null
10  %tmp3 = zext i1 %tmp2 to i32
11
12  ret i32 %tmp3
13
14  ; CHECK-LABEL: test1
15  ; CHECK: adds {{x[0-9]+}}, sp, #15
16}
17