summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopStrengthReduce
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2019-06-19 16:02:54 +0000
committerHubert Tong <hubert.reinterpretcast@gmail.com>2019-06-19 16:02:54 +0000
commite9983eed5ad3238820d80904577a29212fcd4ab8 (patch)
tree6ed1dfab1d2370087e87741398b6bea5cfcdf389 /llvm/test/Transforms/LoopStrengthReduce
parenta5992997d9a988dd55ea372e0e0563cf559c2fde (diff)
downloadbcm5719-llvm-e9983eed5ad3238820d80904577a29212fcd4ab8.tar.gz
bcm5719-llvm-e9983eed5ad3238820d80904577a29212fcd4ab8.zip
[NFC][LSR] Avoid undefined grep in pr2570.ll
greater-than-sign is not a BRE special character. POSIX.1-2017 XBD Section 9.3.2 indicates that the interpretation of `\>` is undefined. This patch replaces the pattern. llvm-svn: 363828
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce')
-rw-r--r--llvm/test/Transforms/LoopStrengthReduce/pr2570.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/pr2570.ll b/llvm/test/Transforms/LoopStrengthReduce/pr2570.ll
index 671ffde671f..6ebf0d540fa 100644
--- a/llvm/test/Transforms/LoopStrengthReduce/pr2570.ll
+++ b/llvm/test/Transforms/LoopStrengthReduce/pr2570.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loop-reduce -S | grep "phi\>" | count 8
+; RUN: opt < %s -loop-reduce -S | grep -e 'phi$' -e 'phi[^_[:alnum:]]' | count 8
; PR2570
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
OpenPOWER on IntegriCloud