1; RUN: llc -fast-isel=true -global-isel=false -O0 -mtriple=arm64_32-apple-ios %s -o - | FileCheck %s 2; RUN: llc -fast-isel=false -global-isel=false -O0 -mtriple=arm64_32-apple-ios %s -o - | FileCheck %s 3 4define void @test_store(i8** %p) { 5; CHECK-LABEL: test_store: 6; CHECK: mov [[R1:w[0-9]+]], wzr 7; CHECK: str [[R1]], [x0] 8 9 store i8* null, i8** %p 10 ret void 11} 12 13define void @test_phi(i8** %p) { 14; CHECK-LABEL: test_phi: 15; CHECK: mov [[R1:x[0-9]+]], xzr 16; CHECK: str [[R1]], [sp, #8] 17; CHECK: b [[BB:LBB[0-9_]+]] 18; CHECK: [[BB]]: 19; CHECK: ldr x0, [sp, #8] 20; CHECK: mov w8, w0 21; CHECK: str w8, [x{{.*}}] 22 23bb0: 24 br label %bb1 25bb1: 26 %tmp0 = phi i8* [ null, %bb0 ] 27 store i8* %tmp0, i8** %p 28 ret void 29} 30