diff options
author | Renato Golin <renato.golin@linaro.org> | 2015-11-28 17:23:46 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2015-11-28 17:23:46 +0000 |
commit | 5dbc8a5283dc205f99fa2251521692184e322cf6 (patch) | |
tree | 8ddbac4393afa6bd87fc23034945aa837df4f570 /llvm/test | |
parent | d9bb73b2367f7dffd3ab97987c252e0de3f2a2bb (diff) | |
download | bcm5719-llvm-5dbc8a5283dc205f99fa2251521692184e322cf6.tar.gz bcm5719-llvm-5dbc8a5283dc205f99fa2251521692184e322cf6.zip |
Revert "[ARM] Generate ABI_optimization_goals build attribute, as described in the ARM ARM."
This reverts commit r254201 and r254202, as it broke test-suite,
self-hosting and sanitizer tests on ARM buildbots.
llvm-svn: 254234
Diffstat (limited to 'llvm/test')
6 files changed, 8 insertions, 108 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 -} - diff --git a/llvm/test/MC/ARM/data-in-code.ll b/llvm/test/MC/ARM/data-in-code.ll index 10657a3fed3..c4910ff20e6 100644 --- a/llvm/test/MC/ARM/data-in-code.ll +++ b/llvm/test/MC/ARM/data-in-code.ll @@ -53,6 +53,13 @@ exit: ;; ARM: Symbol { ;; ARM: Name: $d +;; ARM-NEXT: Value: 0 +;; ARM-NEXT: Size: 0 +;; ARM-NEXT: Binding: Local +;; ARM-NEXT: Type: None + +;; ARM: Symbol { +;; ARM: Name: $d ;; ARM-NEXT: Value: 0x{{[0-9A-F]+}} ;; ARM-NEXT: Size: 0 ;; ARM-NEXT: Binding: Local @@ -70,17 +77,10 @@ exit: ;; ARM-NEXT: Section: .ARM.exidx ;; ARM-NEXT: } -;; ARM: Symbol { -;; ARM: Name: $d -;; ARM-NEXT: Value: 0 -;; ARM-NEXT: Size: 0 -;; ARM-NEXT: Binding: Local -;; ARM-NEXT: Type: None - ;; ARM-NOT: ${{[atd]}} ;; TMB: Symbol { -;; TMB: Name: $d.1 +;; TMB: Name: $d.2 ;; TMB-NEXT: Value: 0x{{[0-9A-F]+}} ;; TMB-NEXT: Size: 0 ;; TMB-NEXT: Binding: Local |