]> granicus.if.org Git - clang/commitdiff
Second part of fix in CodeGen/captured-statements-nested.c
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 30 Jun 2014 09:14:10 +0000 (09:14 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 30 Jun 2014 09:14:10 +0000 (09:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212028 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/captured-statements-nested.c

index ecf4d173df2cf7ca2e2b60d627f212a36989a83c..2ff9ee9cc88c5c3ec10b0b90e548a3109ce50335 100644 (file)
@@ -81,7 +81,7 @@ void test_nest_captured_stmt(int param, int size, int param_arr[size]) {
         // CHECK1-DAG: [[ARR_ADDR:%.*]] = load i{{.+}}** [[ARR_ADDR_REF]]
         // CHECK1-DAG: [[ARR_IDX_1:%.*]] = mul {{.*}} 10
         // CHECK1-DAG: [[ARR_10_ADDR:%.*]] = getelementptr inbounds i{{.+}}* [[ARR_ADDR]], i{{.*}} [[ARR_IDX_1]]
-        // CHECK1-DAG: [[ARR_10_Z_A_ADDR:%.*]] = getelementptr inbounds i{{.+}}* [[ARR_10_ADDR]], i{{.*}} [[ARR_IDX_2]]
+        // CHECK1-DAG: [[ARR_10_Z_A_ADDR:%.*]] = getelementptr inbounds i{{.+}}* [[ARR_10_ADDR]], i{{.*}}
         // CHECK1: store i{{.+}} 12, i{{.+}}* [[ARR_10_Z_A_ADDR]]
       }
     }