| Simon Pilgrim | fc4d4b2 | 2016-07-19 13:35:11 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple=arm64-apple-ios7.0.0 | FileCheck %s |
| Louis Gerbarg | cfc0545 | 2014-04-14 21:05:05 +0000 | [diff] [blame] | 2 | |
| 3 | target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" |
| Louis Gerbarg | cfc0545 | 2014-04-14 21:05:05 +0000 | [diff] [blame] | 4 | |
| 5 | ; Function Attrs: nounwind ssp uwtable |
| 6 | define i32 @test1() #0 { |
| 7 | %tmp1 = alloca i8 |
| 8 | %tmp2 = alloca i32, i32 4096 |
| 9 | %tmp3 = icmp eq i8* %tmp1, null |
| 10 | %tmp4 = zext i1 %tmp3 to i32 |
| 11 | |
| 12 | ret i32 %tmp4 |
| 13 | |
| 14 | ; CHECK-LABEL: test1 |
| Tim Northover | cfd6e66 | 2014-04-30 11:19:15 +0000 | [diff] [blame] | 15 | ; CHECK: adds [[TEMP:[a-z0-9]+]], sp, #4, lsl #12 |
| Louis Gerbarg | cfc0545 | 2014-04-14 21:05:05 +0000 | [diff] [blame] | 16 | ; CHECK: adds [[TEMP]], [[TEMP]], #15 |
| 17 | } |