summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/GlobalDCE/basicvariabletest.ll
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-05-01 22:51:14 +0000
committerDavide Italiano <davide@freebsd.org>2016-05-01 22:51:14 +0000
commit4f277763cf7daacb7f91478c04454da046c70545 (patch)
tree6e9e8ef15cfa0a03102c93530f44ac5e5dea40d3 /llvm/test/Transforms/GlobalDCE/basicvariabletest.ll
parentca140b17cb9c2c093ea3e45441091be0bd9e51ac (diff)
downloadbcm5719-llvm-4f277763cf7daacb7f91478c04454da046c70545.tar.gz
bcm5719-llvm-4f277763cf7daacb7f91478c04454da046c70545.zip
[GlobalDCE] Modernize. Use FileCheck instead of grep.
llvm-svn: 268207
Diffstat (limited to 'llvm/test/Transforms/GlobalDCE/basicvariabletest.ll')
-rw-r--r--llvm/test/Transforms/GlobalDCE/basicvariabletest.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/Transforms/GlobalDCE/basicvariabletest.ll b/llvm/test/Transforms/GlobalDCE/basicvariabletest.ll
index a97b66de2c6..af7d2feb694 100644
--- a/llvm/test/Transforms/GlobalDCE/basicvariabletest.ll
+++ b/llvm/test/Transforms/GlobalDCE/basicvariabletest.ll
@@ -1,5 +1,6 @@
-; RUN: opt < %s -globaldce -S | not grep global
+; RUN: opt < %s -globaldce -S | FileCheck %s
+; CHECK-NOT: global
@X = external global i32
@Y = internal global i32 7
OpenPOWER on IntegriCloud