summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/align_Os.ll
blob: aa9368ce64a4f702cf1e4b0555f5c8e4de45162d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK: {{.balign 4|.p2align 2}}
; CHECK: {{.balign 4|.p2align 2}}

target triple = "hexagon"

; Function Attrs: nounwind optsize readnone
define i32 @f0() #0 section ".mysection.main" {
b0:
  ret i32 0
}

; Function Attrs: nounwind optsize readnone
define i32 @f1() #0 section ".mysection.anothermain" {
b0:
  ret i32 0
}

attributes #0 = { nounwind optsize readnone "target-cpu"="hexagonv55" }
OpenPOWER on IntegriCloud