diff options
author | Marek Sedláček <msedlacek@azul.com> | 2023-08-17 07:25:29 -0700 |
---|---|---|
committer | Artur Pilipenko <apilipenko@azul.com> | 2023-08-17 07:55:23 -0700 |
commit | 3fee76cff3431bebaa0068a39a7b0d0a645c823f (patch) | |
tree | 9f27b07c5d9d4c83d06c3288510c536492c8f411 /polly | |
parent | a4b2237cfc342e90cb45defd61864741fe4241a7 (diff) | |
download | llvm-3fee76cff3431bebaa0068a39a7b0d0a645c823f.zip llvm-3fee76cff3431bebaa0068a39a7b0d0a645c823f.tar.gz llvm-3fee76cff3431bebaa0068a39a7b0d0a645c823f.tar.bz2 |
Headers for basic blocks in CFG dot graphs
This change adds separators for basic block names, which makes it
easier to find a basic block based on its name and separates it
from the code.
Currently there is also a chance that the basic block label will
be present twice, that is in case the basic block has explicit
numbering, this change fixes this bug.
Differential Revision: https://reviews.llvm.org/D154102
Diffstat (limited to 'polly')
-rw-r--r-- | polly/test/ScopDetect/dot-scops-npm.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/test/ScopDetect/dot-scops-npm.ll b/polly/test/ScopDetect/dot-scops-npm.ll index 30eefd1..722cd1e 100644 --- a/polly/test/ScopDetect/dot-scops-npm.ll +++ b/polly/test/ScopDetect/dot-scops-npm.ll @@ -15,7 +15,7 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define void @func_npm(i32 %n, i32 %m, ptr noalias nonnull %A) { ; CHECK: digraph "Scop Graph for 'func_npm' function" ; CHECK-NEXT: label="Scop Graph for 'func_npm' function" -; CHECK: Node0x[[EntryID:.*]] [shape=record,label="{entry:\l br label %outer.for\l}"]; +; CHECK: Node0x[[EntryID:.*]] [shape=record,label="{entry:| br label %outer.for\l}"]; ; CHECK-NEXT: Node0x[[EntryID]] -> Node0x[[OUTER_FOR_ID:.*]]; ; CHECK-NEXT: Node0x[[OUTER_FOR_ID]] [shape=record,label="{outer.for: ; CHECK-NEXT: Node0x[[OUTER_FOR_ID]] -> Node0x[[INNER_FOR_ID:.*]]; |