summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/no-falign-function-for-size.ll
blob: 0b5e4ddfd0ffacf6b95b9e3bdca735ffe7f24bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc -march=hexagon < %s | FileCheck %s

; Don't output falign for function entries when optimizing for size.
; CHECK-NOT: falign

define i32 @f0() #0 {
b0:
  ret i32 0
}

attributes #0 = { optsize }
OpenPOWER on IntegriCloud