summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb2
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-09-18 00:04:29 +0000
committerReid Kleckner <rnk@google.com>2018-09-18 00:04:29 +0000
commitd38f9a6ce3c1cd3d7459408b2bbcfafacb4a5e0c (patch)
treecbfb22f2800799bb6d51543368fcedf737bd0fcd /llvm/test/CodeGen/Thumb2
parentd299b2c311f319865885ad54a3be3115b9c3ae9c (diff)
downloadbcm5719-llvm-d38f9a6ce3c1cd3d7459408b2bbcfafacb4a5e0c.tar.gz
bcm5719-llvm-d38f9a6ce3c1cd3d7459408b2bbcfafacb4a5e0c.zip
Work around grep vs. CRLF issue in Thumb2 test by matching excess whitespace
There seems to be a separate command line tokenization issue that prevents just ':\s*$' from working, since then the pattern argument isn't quoted, and grep.exe misinterprets the backslash somehow. llvm-svn: 342430
Diffstat (limited to 'llvm/test/CodeGen/Thumb2')
-rw-r--r--llvm/test/CodeGen/Thumb2/2010-01-06-TailDuplicateLabels.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Thumb2/2010-01-06-TailDuplicateLabels.ll b/llvm/test/CodeGen/Thumb2/2010-01-06-TailDuplicateLabels.ll
index 56206ef7733..1b0b91e86cf 100644
--- a/llvm/test/CodeGen/Thumb2/2010-01-06-TailDuplicateLabels.ll
+++ b/llvm/test/CodeGen/Thumb2/2010-01-06-TailDuplicateLabels.ll
@@ -1,4 +1,4 @@
-; RUN: llc -relocation-model=pic < %s | grep ":$" | sort | uniq -d | count 0
+; RUN: llc -relocation-model=pic < %s | grep -E ': ?\s*$' | sort | uniq -d | count 0
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32-n32"
target triple = "thumbv7-apple-darwin10"
OpenPOWER on IntegriCloud