1 ; RUN: llc -O0 -mtriple=aarch64-apple-ios -o - %s | FileCheck %s
3 @g = global i16 0, align 2
6 ; Check that only one load is generated for an extending volatile load.
7 define hidden void @foo() {
10 %1 = load volatile i16, i16* @g, align 2
11 %2 = sext i16 %1 to i32
12 call void @bar(i32 %2)