Modified dump() to provide a little

more information for dependences between
instructions that don't share a common loop.

Updated the test results appropriately.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Preston Briggs 2012-11-30 00:44:47 +00:00
parent adf0c3d82d
commit a4eff77e37
3 changed files with 34 additions and 36 deletions

View File

@ -583,7 +583,6 @@ void Dependence::dump(raw_ostream &OS) const {
else if (isInput())
OS << "input";
unsigned Levels = getLevels();
if (Levels) {
OS << " [";
for (unsigned II = 1; II <= Levels; ++II) {
if (isSplitable(II))
@ -619,7 +618,6 @@ void Dependence::dump(raw_ostream &OS) const {
if (Splitable)
OS << " splitable";
}
}
OS << "!\n";
}

View File

@ -201,7 +201,7 @@ entry:
br label %for.body
; CHECK: da analyze - none!
; CHECK: da analyze - flow!
; CHECK: da analyze - flow [|<]!
; CHECK: da analyze - confused!
; CHECK: da analyze - none!
; CHECK: da analyze - confused!
@ -388,7 +388,7 @@ entry:
br label %for.body
; CHECK: da analyze - none!
; CHECK: da analyze - flow!
; CHECK: da analyze - flow [|<]!
; CHECK: da analyze - confused!
; CHECK: da analyze - none!
; CHECK: da analyze - confused!

View File

@ -15,7 +15,7 @@ entry:
store i32 0, i32* %arrayidx, align 4
; CHECK: da analyze - none!
; CHECK: da analyze - consistent flow!
; CHECK: da analyze - consistent flow [|<]!
; CHECK: da analyze - confused!
; CHECK: da analyze - none!
; CHECK: da analyze - confused!
@ -61,7 +61,7 @@ entry:
store i32 0, i32* %arrayidx, align 4
; CHECK: da analyze - none!
; CHECK: da analyze - flow!
; CHECK: da analyze - flow [|<]!
; CHECK: da analyze - confused!
; CHECK: da analyze - none!
; CHECK: da analyze - confused!