summaryrefslogtreecommitdiff
path: root/test/CodeGen/XCore/align.ll
blob: 2878a648e09b28e205dc501438619fc483d361ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: llc < %s -march=xcore | FileCheck %s

; CHECK: .align 4
; CHECK-LABEL: f:
define void @f() nounwind {
entry:
  ret void
}

; CHECK: .align 2
; CHECK-LABEL: g:
define void @g() nounwind optsize {
entry:
  ret void
}