From 0a092763e73ed1ab736129fc541058a8aeaa517f Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Fri, 9 Jan 2015 08:10:36 +0000 Subject: [PATCH] Adjust test for the new 'distinct' metadata nodes 'distinct' was introduced in 225474. We now adjust the test cases to match for the additional 'distinct' marker. llvm-svn: 225512 --- .../Isl/CodeGen/LoopParallelMD/loop_nest_param_parallel.ll | 4 ++-- polly/test/Isl/CodeGen/annotated_alias_scopes.ll | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/polly/test/Isl/CodeGen/LoopParallelMD/loop_nest_param_parallel.ll b/polly/test/Isl/CodeGen/LoopParallelMD/loop_nest_param_parallel.ll index 412d5b7adc2b..a0afac33690e 100644 --- a/polly/test/Isl/CodeGen/LoopParallelMD/loop_nest_param_parallel.ll +++ b/polly/test/Isl/CodeGen/LoopParallelMD/loop_nest_param_parallel.ll @@ -10,8 +10,8 @@ ; ; CHECK-DAG: store i32 %{{[a-z_0-9]*}}, i32* %{{[a-z_0-9]*}}, {{[ ._!,a-zA-Z0-9]*}}, !llvm.mem.parallel_loop_access !4 ; -; CHECK-DAG: ![[IDOuter]] = !{![[IDOuter]]} -; CHECK-DAG: ![[IDInner]] = !{![[IDInner]]} +; CHECK-DAG: ![[IDOuter]] = distinct !{![[IDOuter]]} +; CHECK-DAG: ![[IDInner]] = distinct !{![[IDInner]]} ; CHECK-DAG: !4 = !{![[IDOuter]], ![[IDInner]]} ; ; void jd(int *A) { diff --git a/polly/test/Isl/CodeGen/annotated_alias_scopes.ll b/polly/test/Isl/CodeGen/annotated_alias_scopes.ll index 81ee34115f92..d1a2655757f7 100644 --- a/polly/test/Isl/CodeGen/annotated_alias_scopes.ll +++ b/polly/test/Isl/CodeGen/annotated_alias_scopes.ll @@ -11,13 +11,13 @@ ; SCOPES: %[[AIdx:[._a-zA-Z0-9]*]] = getelementptr{{.*}} i32* %A, i64 %polly.indvar ; SCOPES: store i32 %{{[._a-zA-Z0-9]*}}, i32* %[[AIdx]], align 4, !alias.scope ![[AliasScopeA:[0-9]*]], !noalias ![[NoAliasA:[0-9]*]] ; -; SCOPES: ![[AliasScopeB]] = !{![[AliasScopeB]], !{{[0-9]*}}, !"polly.alias.scope.B"} +; SCOPES: ![[AliasScopeB]] = distinct !{![[AliasScopeB]], !{{[0-9]*}}, !"polly.alias.scope.B"} ; SCOPES: ![[NoAliasB]] = !{ ; SCOPES-DAG: ![[AliasScopeA]] ; SCOPES-DAG: ![[AliasScopeC]] ; SCOPES: } -; SCOPES-DAG: ![[AliasScopeA]] = !{![[AliasScopeA]], !{{[0-9]*}}, !"polly.alias.scope.A"} -; SCOPES-DAG: ![[AliasScopeC]] = !{![[AliasScopeC]], !{{[0-9]*}}, !"polly.alias.scope.C"} +; SCOPES-DAG: ![[AliasScopeA]] = distinct !{![[AliasScopeA]], !{{[0-9]*}}, !"polly.alias.scope.A"} +; SCOPES-DAG: ![[AliasScopeC]] = distinct !{![[AliasScopeC]], !{{[0-9]*}}, !"polly.alias.scope.C"} ; SCOPES: ![[NoAliasC]] = !{ ; SCOPES-DAG: ![[AliasScopeA]] ; SCOPES-DAG: ![[AliasScopeB]]