1 ; RUN: llc -mtriple=arm64-apple-ios -o - %s -fast-isel=1 -O0 | FileCheck %s
3 ; The zext can be folded into the load and removed, but doing so can invalidate
4 ; pointers internal to FastISel and cause a crash so it must be done carefully.
12 store i32 undef, i32* undef, align 4
13 %t81 = load i16, i16* undef, align 2
15 %t82 = zext i16 %t81 to i32
16 %t83 = shl i32 %t82, 16
17 %t84 = or i32 undef, %t83
21 %val = phi i32 [%t84, %entry]
25 declare void @callee()