summaryrefslogtreecommitdiff
path: root/test/CodeGen/pgo-sample.c
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2016-09-19 16:02:52 +0000
committerDehao Chen <dehao@google.com>2016-09-19 16:02:52 +0000
commitd121635fd911d2fc185baecf32ab9f02d60bdeb2 (patch)
tree7da1aec8aa3a2df348a553dd592ce3562899bd0c /test/CodeGen/pgo-sample.c
parent4e150257075024ae0040647268e6ec33f4ebe797 (diff)
downloadclang-d121635fd911d2fc185baecf32ab9f02d60bdeb2.tar.gz
Remove InstructionCombining and its related pass from sample pgo passes as we can handle "invoke" correctly.
Summary: We previously relies on InstructionCombining pass to remove invoke instructions. Now that we can inline invoke instructions correctly, we do not need these passes any more. Reviewers: dnovillo Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24730 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281910 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/pgo-sample.c')
-rw-r--r--test/CodeGen/pgo-sample.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/CodeGen/pgo-sample.c b/test/CodeGen/pgo-sample.c
index c955edfab7..e7d2fa61aa 100644
--- a/test/CodeGen/pgo-sample.c
+++ b/test/CodeGen/pgo-sample.c
@@ -2,8 +2,5 @@
//
// Ensure Pass PGOInstrumentationGenPass is invoked.
// RUN: %clang_cc1 -O2 -fprofile-sample-use=%S/Inputs/pgo-sample.prof %s -mllvm -debug-pass=Structure -emit-llvm -o - 2>&1 | FileCheck %s
-// CHECK: Simplify the CFG
-// CHECK: SROA
-// CHECK: Combine redundant instructions
// CHECK: Remove unused exception handling info
// CHECK: Sample profile pass