aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt/globalsra-unknown-index.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/GlobalOpt/globalsra-unknown-index.ll')
-rw-r--r--test/Transforms/GlobalOpt/globalsra-unknown-index.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/GlobalOpt/globalsra-unknown-index.ll b/test/Transforms/GlobalOpt/globalsra-unknown-index.ll
index 1e0db6a998..cc655e9a2d 100644
--- a/test/Transforms/GlobalOpt/globalsra-unknown-index.ll
+++ b/test/Transforms/GlobalOpt/globalsra-unknown-index.ll
@@ -1,7 +1,7 @@
; RUN: opt < %s -globalopt -S > %t
-; RUN: grep {@Y = internal unnamed_addr global \\\[3 x \[%\]struct.X\\\] zeroinitializer} %t
+; RUN: grep "@Y = internal unnamed_addr global \[3 x [%]struct.X\] zeroinitializer" %t
; RUN: grep load %t | count 6
-; RUN: grep {add i32 \[%\]a, \[%\]b} %t | count 3
+; RUN: grep "add i32 [%]a, [%]b" %t | count 3
; globalopt should not sra the global, because it can't see the index.