mirror of
https://github.com/RPCS3/llvm.git
synced 2026-08-27 02:51:23 -04:00
c9946711ce
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327271 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
443 B
LLVM
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" }
|