diff options
Diffstat (limited to 'llvm/test/CodeGen')
5 files changed, 0 insertions, 100 deletions
diff --git a/llvm/test/CodeGen/ARM/build-attributes-optimization-minsize.ll b/llvm/test/CodeGen/ARM/build-attributes-optimization-minsize.ll deleted file mode 100644 index 4cfb6012f43..00000000000 --- a/llvm/test/CodeGen/ARM/build-attributes-optimization-minsize.ll +++ /dev/null @@ -1,18 +0,0 @@ -; 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 - -; 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 -; 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 -; 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 - -; 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 } - diff --git a/llvm/test/CodeGen/ARM/build-attributes-optimization-mixed.ll b/llvm/test/CodeGen/ARM/build-attributes-optimization-mixed.ll deleted file mode 100644 index 8009fc6e28f..00000000000 --- a/llvm/test/CodeGen/ARM/build-attributes-optimization-mixed.ll +++ /dev/null @@ -1,23 +0,0 @@ -; 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 - -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O0 -filetype obj -o - | llvm-readobj -arm-attributes - | FileCheck %s -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O1 -filetype obj -o - | llvm-readobj -arm-attributes - | FileCheck %s -; RUN: llc < %s -mtriple=arm-none-none-eabi -mcpu=cortex-a7 -O3 -filetype obj -o - | llvm-readobj -arm-attributes - | FileCheck %s - -; CHECK-NOT: .eabi_attribute 30 -; CHECK-NOT: Tag_ABI_optimization_goals - -define i32 @f(i64 %z) #0 { - ret i32 0 -} - -define i32 @g(i64 %z) #1 { - ret i32 1 -} - -attributes #0 = { noinline optnone } - -attributes #1 = { minsize optsize } - diff --git a/llvm/test/CodeGen/ARM/build-attributes-optimization-optnone.ll b/llvm/test/CodeGen/ARM/build-attributes-optimization-optnone.ll deleted file mode 100644 index cbdb915045c..00000000000 --- a/llvm/test/CodeGen/ARM/build-attributes-optimization-optnone.ll +++ /dev/null @@ -1,18 +0,0 @@ -; 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 - -; 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 -; 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 -; 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 - -; CHECK: .eabi_attribute 30, 6 @ Tag_ABI_optimization_goals -; CHECK-OBJ: TagName: ABI_optimization_goals -; CHECK-OBJ-NEXT: Description: Best Debugging - -define i32 @f(i64 %z) #0 { - ret i32 0 -} - -attributes #0 = { noinline optnone } - diff --git a/llvm/test/CodeGen/ARM/build-attributes-optimization-optsize.ll b/llvm/test/CodeGen/ARM/build-attributes-optimization-optsize.ll deleted file mode 100644 index bab210aa8d0..00000000000 --- a/llvm/test/CodeGen/ARM/build-attributes-optimization-optsize.ll +++ /dev/null @@ -1,18 +0,0 @@ -; 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 - -; 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 -; 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 -; 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 - -; CHECK: .eabi_attribute 30, 3 @ Tag_ABI_optimization_goals -; CHECK-OBJ: TagName: ABI_optimization_goals -; CHECK-OBJ-NEXT: Description: Size - -define i32 @f(i64 %z) #0 { - ret i32 0 -} - -attributes #0 = { optsize } - diff --git a/llvm/test/CodeGen/ARM/build-attributes-optimization.ll b/llvm/test/CodeGen/ARM/build-attributes-optimization.ll deleted file mode 100644 index 21b7b3c3ab0..00000000000 --- a/llvm/test/CodeGen/ARM/build-attributes-optimization.ll +++ /dev/null @@ -1,23 +0,0 @@ -; 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 -} - |