summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2016-05-03 22:32:30 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2016-05-03 22:32:30 +0000
commit50271f787e99a35010ddbaafaa8fe711da5899f8 (patch)
tree4a1e7c15845cfd69a2abf1d084c513975a3dfa8d /llvm/test
parent539cd6758b8da2f35fb88a275374f752e7671e47 (diff)
downloadbcm5719-llvm-50271f787e99a35010ddbaafaa8fe711da5899f8.tar.gz
bcm5719-llvm-50271f787e99a35010ddbaafaa8fe711da5899f8.zip
Add opt-bisect support to additional passes that can be skipped
Differential Revision: http://reviews.llvm.org/D19882 llvm-svn: 268457
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Other/opt-bisect-legacy-pass-manager.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Other/opt-bisect-legacy-pass-manager.ll b/llvm/test/Other/opt-bisect-legacy-pass-manager.ll
index 8c39187fcf0..0e528ea4b32 100644
--- a/llvm/test/Other/opt-bisect-legacy-pass-manager.ll
+++ b/llvm/test/Other/opt-bisect-legacy-pass-manager.ll
@@ -26,6 +26,14 @@
; CHECK-SKIP-ALL-NOT: BISECT: running pass ({{[0-9]+}})
+; Verify that no passes run at -O0 are skipped
+; RUN: opt -opt-bisect-limit=0 < %s 2>&1 | FileCheck %s --check-prefix=OPTBISECT-O0
+; RUN: opt -opt-bisect-limit=0 < %s | llc -O0 -opt-bisect-limit=0 2>&1 | FileCheck %s --check-prefix=OPTBISECT-O0
+; OPTBISECT-O0-NOT: BISECT: NOT running
+
+; FIXME: There are still some AMDGPU passes being skipped that run at -O0.
+; XFAIL: r600, amdgcn
+
; Verify that we can use the opt-bisect-helper.py script (derived from
; utils/bisect) to locate the optimization that inlines the call to
; f2() in f3().
OpenPOWER on IntegriCloud