summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify/lftr_simple.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/lftr_simple.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/lftr_simple.ll')
-rw-r--r--llvm/test/Transforms/IndVarSimplify/lftr_simple.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/lftr_simple.ll b/llvm/test/Transforms/IndVarSimplify/lftr_simple.ll
index 6a8d9372183..ee6470a7e00 100644
--- a/llvm/test/Transforms/IndVarSimplify/lftr_simple.ll
+++ b/llvm/test/Transforms/IndVarSimplify/lftr_simple.ll
@@ -1,6 +1,6 @@
; LFTR should eliminate the need for the computation of i*i completely. It
; is only used to compute the exit value.
-; RUN: opt < %s -indvars -dce -S | not grep mul
+; RUN: opt < %s -indvars -dce -S | FileCheck %s
; Provide legal integer types.
target datalayout = "n8:16:32:64"
@@ -9,6 +9,8 @@ target datalayout = "n8:16:32:64"
@A = external global i32 ; <i32*> [#uses=1]
define i32 @quadratic_setlt() {
+; CHECK-LABEL: @quadratic_setlt(
+; CHECK-NOT: mul
entry:
br label %loop
OpenPOWER on IntegriCloud