aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Hexagon/no-falign-function-for-size.ll
blob: af0f906ff319102d85f344aa4b98360849b1b40a (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc -mtriple=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 }