1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/CodeGen/Hexagon/align_Os.ll
Krzysztof Parzyszek 66abdd815e [Hexagon] Add more lit tests
llvm-svn: 327271
2018-03-12 14:01:28 +00:00

20 lines
443 B
LLVM

; 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" }