mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-16 00:16:50 +00:00
fad998fc36
Summary: This reverts r254234, and adds a simple fix for the annoying case of use-after-free. Reviewers: rengolin Subscribers: aemerson, llvm-commits, rengolin Differential Revision: http://reviews.llvm.org/D15236 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254912 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
1.3 KiB
LLVM
24 lines
1.3 KiB
LLVM
; 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
|
|
}
|
|
|