source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/build-attributes-optimization-optnone.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 954 bytes
Line 
1; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 | FileCheck %s
2; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 | FileCheck %s
3; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 | FileCheck %s
4
5; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj -arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ
6; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj -arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ
7; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj -arm-attributes - | FileCheck %s --check-prefix=CHECK-OBJ
8
9; CHECK: .eabi_attribute 30, 6  @ Tag_ABI_optimization_goals
10; CHECK-OBJ:          TagName: ABI_optimization_goals
11; CHECK-OBJ-NEXT:     Description: Best Debugging
12
13define i32 @f(i64 %z) #0 {
14    ret i32 0
15}
16
17attributes #0 = { noinline optnone }
18
Note: See TracBrowser for help on using the repository browser.