summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-02-23 02:28:40 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-02-23 02:28:40 +0000
commitb3613fce19b0fd154d38b044196357afdc335f8d (patch)
treedc9f0db960338b827777b42e5a14238e4782ebcb /llvm/test
parent4e796d0c9f404d080548665857f9c569534b239a (diff)
downloadbcm5719-llvm-b3613fce19b0fd154d38b044196357afdc335f8d.tar.gz
bcm5719-llvm-b3613fce19b0fd154d38b044196357afdc335f8d.zip
Revert "Add prefix based function layout when profile is available."
This reverts commit r261582, since this bot has been broken for four hours: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-incremental_check/19399/ llvm-svn: 261604
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/partition-sections.ll31
1 files changed, 0 insertions, 31 deletions
diff --git a/llvm/test/CodeGen/X86/partition-sections.ll b/llvm/test/CodeGen/X86/partition-sections.ll
deleted file mode 100644
index b05a381440f..00000000000
--- a/llvm/test/CodeGen/X86/partition-sections.ll
+++ /dev/null
@@ -1,31 +0,0 @@
-; RUN: llc < %s -group-functions-by-hotness=true | FileCheck %s -check-prefix=PARTITION
-; RUN: llc < %s -function-sections -group-functions-by-hotness=false | FileCheck %s -check-prefix=NO-PARTITION-FUNCTION-SECTION
-; RUN: llc < %s -function-sections -group-functions-by-hotness=true | FileCheck %s -check-prefix=PARTITION-FUNCTION-SECTION
-
-; PARTITION: .text.unlikely
-; PARTITION: .globl _Z3foov
-; NO-PARTITION-FUNCTION-SECTION: .text._Z3foov
-; PARTITION-FUNCTION-SECTION: .text.unlikely._Z3foov
-define i32 @_Z3foov() #0 {
- ret i32 0
-}
-
-; PARTITION: .globl _Z3barv
-; NO-PARTITION-FUNCTION-SECTION: .text._Z3barv
-; PARTITION-FUNCTION-SECTION: .text.unlikely._Z3barv
-define i32 @_Z3barv() #1 !prof !0 {
- ret i32 1
-}
-
-; PARTITION: .text
-; PARTITION: .globl _Z3bazv
-; NO-PARTITION-FUNCTION-SECTION: .text._Z3bazv
-; PARTITION-FUNCTION-SECTION: .text._Z3bazv
-define i32 @_Z3bazv() #1 {
- ret i32 2
-}
-
-attributes #0 = { nounwind uwtable cold }
-attributes #1 = { nounwind uwtable }
-
-!0 = !{!"function_entry_count", i64 0}
OpenPOWER on IntegriCloud