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
This commit is contained in:
Tobias Grosser 2015-01-09 08:10:36 +00:00
parent aa30dd7497
commit 0a092763e7
2 changed files with 5 additions and 5 deletions

View File

@ -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) {

View File

@ -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]]