[ARM] More MVE compare vector splat combines for ANDs
[llvm-complete.git] / test / CodeGen / ARM / build-attributes-optimization.ll
blob6c1abae6b14ce23b01e08ba6d2b1e3e40ba215e2
1 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 | FileCheck %s --check-prefix=NONE
2 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 | FileCheck %s --check-prefix=SPEED
3 ; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 | FileCheck %s --check-prefix=MAXSPEED
5 ; 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
6 ; 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
7 ; 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
9 ; NONE:     .eabi_attribute 30, 5       @ Tag_ABI_optimization_goals
10 ; SPEED:    .eabi_attribute 30, 1       @ Tag_ABI_optimization_goals
11 ; MAXSPEED: .eabi_attribute 30, 2       @ Tag_ABI_optimization_goals
13 ; NONE-OBJ:          TagName: ABI_optimization_goals
14 ; NONE-OBJ-NEXT:     Description: Debugging
15 ; SPEED-OBJ:         TagName: ABI_optimization_goals
16 ; SPEED-OBJ-NEXT:    Description: Speed
17 ; MAXSPEED-OBJ:      TagName: ABI_optimization_goals
18 ; MAXSPEED-OBJ-NEXT: Description: Aggressive Speed
20 define i32 @f(i64 %z) {
21     ret i32 0