summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll')
-rw-r--r--llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll b/llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll
index a3d65c79f4b..1f5c61b66ef 100644
--- a/llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll
+++ b/llvm/test/Regression/Transforms/GlobalDCE/basicvariabletest.ll
@@ -1,8 +1,4 @@
-; RUN: if as < %s | opt -globaldce | dis | grep global
-; RUN: then exit 1
-; RUN: else exit 0
-; RUN: fi
-
+; RUN: as < %s | opt -globaldce | dis | not grep global
%X = uninitialized global int
%Y = internal global int 7
OpenPOWER on IntegriCloud