brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.0 KiB · 1486b3a Raw
42 lines · plain
1; RUN: llc  -mtriple=aarch64-linux-gnu -enable-misched=false < %s | FileCheck %s2 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"5 6 7; CHECK-LABEL: test8; CHECK: str     x30, [sp, #-16]!9; CHECK: adrp    x8, q   10; CHECK: ldr     x8, [x8, :lo12:q]11; CHECK: stp     xzr, xzr, [x8] 12; CHECK: bl f13 14@q = external dso_local unnamed_addr global ptr, align 815 16; Function Attrs: nounwind17define void @test(i1 %arg) local_unnamed_addr #0 {18entry:19  br label %for.body453.i20 21for.body453.i:                                    ; preds = %for.body453.i, %entry22  br i1 %arg, label %for.body453.i, label %for.end705.i23 24for.end705.i:                                     ; preds = %for.body453.i25  %0 = load ptr, ptr @q, align 826  store <2 x i16> zeroinitializer, ptr %0, align 227  %1 = getelementptr i16, ptr %0, i64 228  store <2 x i16> zeroinitializer, ptr %1, align 229  %2 = getelementptr i16, ptr %0, i64 430  store <2 x i16> zeroinitializer, ptr %2, align 231  %3 = getelementptr i16, ptr %0, i64 632  store <2 x i16> zeroinitializer, ptr %3, align 233  call void @f() #234  unreachable35}36 37declare void @f() local_unnamed_addr #138 39attributes #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" "use-soft-float"="false" }40attributes #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" "use-soft-float"="false" }41attributes #2 = { nounwind }42