llvm-for-llvmta/test/CodeGen/Hexagon/no-falign-function-for-size.ll

12 lines
206 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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 }