aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll')
-rw-r--r--test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll b/test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll
index 8df7050b38a7..4adc9607c75b 100644
--- a/test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll
+++ b/test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll
@@ -1,6 +1,8 @@
-; RUN: opt < %s -globalopt -S | grep "16 x .31 x double.. zeroinitializer"
+; RUN: opt < %s -globalopt -S | FileCheck %s
-; The 'X' indices could be larger than 31. Do not SROA the outer indices of this array.
+; The 'X' indices could be larger than 31. Do not SROA the outer
+; indices of this array.
+; CHECK: @mm = {{.*}} [16 x [31 x double]] zeroinitializer
@mm = internal global [16 x [31 x double]] zeroinitializer, align 32
define void @test(i32 %X) {