2015-12-07 22:22:39 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 | FileCheck %s
|
|
|
|
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 | FileCheck %s
|
|
|
|
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 | FileCheck %s
|
|
|
|
|
2019-09-30 12:45:14 +08:00
|
|
|
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ
|
|
|
|
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ
|
|
|
|
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj --arch-specific - | FileCheck %s --check-prefix=CHECK-OBJ
|
2015-12-07 22:22:39 +08:00
|
|
|
|
|
|
|
; CHECK: .eabi_attribute 30, 4 @ Tag_ABI_optimization_goals
|
|
|
|
; CHECK-OBJ: TagName: ABI_optimization_goals
|
|
|
|
; CHECK-OBJ-NEXT: Description: Aggressive Size
|
|
|
|
|
|
|
|
define i32 @f(i64 %z) #0 {
|
|
|
|
ret i32 0
|
|
|
|
}
|
|
|
|
|
|
|
|
attributes #0 = { minsize optsize }
|
|
|
|
|