aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/AArch64/sched-loop-align.ll
blob: 5b8e42c2790a439629c352561e030e7410b7f866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
; RUN: llc < %s -mtriple=aarch64-windows | FileCheck %s --check-prefix=WINDOWS
; RUN: llc < %s -mtriple=aarch64-linux | FileCheck %s --check-prefix=LINUX

define dso_local void @b() #0 {
entry:
  br label %for.cond

for.cond:
  tail call void @a()
  br label %for.cond
}

declare dso_local void @a(...)

attributes #0 = { noreturn nounwind uwtable "tune-cpu"="cortex-a53" }

; LINUX-LABEL: b:
; LINUX: .p2align 4

; WINDOWS-LABEL: b:
; WINDOWS-NOT: .p2align