summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-08-03 20:53:23 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-08-03 20:53:23 +0000
commitac5bf59b6e5eee1ef41cb9e63bc7b0c6709f234e (patch)
treece84d98d39d53d95e4ed32915b59139a1756a167 /llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
parent99444cb86099d3bf60145d8fc1ddfa43522ea63e (diff)
downloadbcm5719-llvm-ac5bf59b6e5eee1ef41cb9e63bc7b0c6709f234e.tar.gz
bcm5719-llvm-ac5bf59b6e5eee1ef41cb9e63bc7b0c6709f234e.zip
[IndVars] Un-grepify test; NFC
Some of these tests need to be cleaned up further to make it obvious what they're testing, but as a first step remove all instances of "grep". llvm-svn: 277648
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll')
-rw-r--r--llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
index 7a69bd2e131..96f2f30bd3b 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
@@ -1,6 +1,4 @@
-; RUN: opt < %s -indvars -S > %t
-; RUN: grep "[%]tmp7 = icmp eq i8 -28, -28" %t
-; RUN: grep "[%]tmp8 = icmp eq i8 63, 63" %t
+; RUN: opt < %s -indvars -S | FileCheck %s
; PR4477
; Indvars should compute the exit values in loop.
;
@@ -16,6 +14,10 @@ target triple = "i386-pc-linux-gnu"
@.str = internal constant [13 x i8] c"fc70a00.adb\00\00", align 1 ; <[13 x i8]*> [#uses=1]
define void @_ada_cc70a02() {
+; CHECK-LABEL: @_ada_cc70a02(
+; CHECK: [%]tmp7 = icmp eq i8 -28, -28
+; CHECK: [%]tmp8 = icmp eq i8 63, 63
+
entry:
br label %bb1.i
OpenPOWER on IntegriCloud