1 ; RUN: llc -mtriple=aarch64-linux-gnu -enable-misched=false < %s | FileCheck %s
3 ;target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
4 ;target triple = "aarch64--linux-gnu"
8 ; CHECK: str x30, [sp, #-16]!
10 ; CHECK: ldr x8, [x8, :lo12:q]
11 ; CHECK: stp xzr, xzr, [x8]
14 @q = external dso_local unnamed_addr global ptr, align 8
16 ; Function Attrs: nounwind
17 define void @test() local_unnamed_addr #0 {
19 br label %for.body453.i
21 for.body453.i: ; preds = %for.body453.i, %entry
22 br i1 undef, label %for.body453.i, label %for.end705.i
24 for.end705.i: ; preds = %for.body453.i
25 %0 = load ptr, ptr @q, align 8
26 store <2 x i16> zeroinitializer, ptr %0, align 2
27 %1 = getelementptr i16, ptr %0, i64 2
28 store <2 x i16> zeroinitializer, ptr %1, align 2
29 %2 = getelementptr i16, ptr %0, i64 4
30 store <2 x i16> zeroinitializer, ptr %2, align 2
31 %3 = getelementptr i16, ptr %0, i64 6
32 store <2 x i16> zeroinitializer, ptr %3, align 2
37 declare void @f() local_unnamed_addr #1
39 attributes #0 = { nounwind "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="true" "no-jump-tables"="false" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="cortex-a57" "target-features"="+crc,+crypto,+fp-armv8,+neon" "unsafe-fp-math"="true" "use-soft-float"="false" }
40 attributes #1 = { "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="cortex-a57" "target-features"="+crc,+crypto,+fp-armv8,+neon" "unsafe-fp-math"="true" "use-soft-float"="false" }
41 attributes #2 = { nounwind }