[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
This commit is contained in:
Hubert Tong 2019-06-19 16:02:54 +00:00
parent a5992997d9
commit e9983eed5a
1 changed files with 1 additions and 1 deletions

View File

@ -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"