You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
23
external/llvm/test/CodeGen/ARM/build-attributes-optimization.ll
vendored
Normal file
23
external/llvm/test/CodeGen/ARM/build-attributes-optimization.ll
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 | FileCheck %s --check-prefix=NONE
|
||||
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 | FileCheck %s --check-prefix=SPEED
|
||||
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 | FileCheck %s --check-prefix=MAXSPEED
|
||||
|
||||
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj -arm-attributes - | FileCheck %s --check-prefix=NONE-OBJ
|
||||
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj -arm-attributes - | FileCheck %s --check-prefix=SPEED-OBJ
|
||||
; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj -arm-attributes - | FileCheck %s --check-prefix=MAXSPEED-OBJ
|
||||
|
||||
; NONE: .eabi_attribute 30, 5 @ Tag_ABI_optimization_goals
|
||||
; SPEED: .eabi_attribute 30, 1 @ Tag_ABI_optimization_goals
|
||||
; MAXSPEED: .eabi_attribute 30, 2 @ Tag_ABI_optimization_goals
|
||||
|
||||
; NONE-OBJ: TagName: ABI_optimization_goals
|
||||
; NONE-OBJ-NEXT: Description: Debugging
|
||||
; SPEED-OBJ: TagName: ABI_optimization_goals
|
||||
; SPEED-OBJ-NEXT: Description: Speed
|
||||
; MAXSPEED-OBJ: TagName: ABI_optimization_goals
|
||||
; MAXSPEED-OBJ-NEXT: Description: Aggressive Speed
|
||||
|
||||
define i32 @f(i64 %z) {
|
||||
ret i32 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user