]> granicus.if.org Git - llvm/commit
[NFC][LSR] Avoid undefined grep in pr2570.ll
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Wed, 19 Jun 2019 16:02:54 +0000 (16:02 +0000)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Wed, 19 Jun 2019 16:02:54 +0000 (16:02 +0000)
commit521e9007ace8fe7901bf0fbd4c2a8f982d2616b3
tree097db07be217d557bd12b84f12f62cee84edf6b9
parent6e06701337ea33aad67d2154666ccccb5668b850
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363828 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/LoopStrengthReduce/pr2570.ll