2020-10-22 12:52:27 +08:00
|
|
|
;RUN: opt < %s -analyze -dot-cfg-only -enable-new-pm=0 2>/dev/null
|
2020-10-22 11:17:12 +08:00
|
|
|
;RUN: opt < %s -passes=dot-cfg-only 2>/dev/null
|
2020-04-01 02:43:25 +08:00
|
|
|
;RUN: opt < %s -analyze -dot-cfg-only \
|
2020-10-22 12:52:27 +08:00
|
|
|
;RUN: -cfg-heat-colors=true -cfg-weights=true -enable-new-pm=0 2>/dev/null
|
2020-04-01 02:43:25 +08:00
|
|
|
;RUN: opt < %s -analyze -dot-cfg-only \
|
2020-10-22 12:52:27 +08:00
|
|
|
;RUN: -cfg-heat-colors=false -cfg-weights=false -enable-new-pm=0 2>/dev/null
|
2020-04-01 02:43:25 +08:00
|
|
|
;RUN: opt < %s -analyze -dot-cfg \
|
2020-10-22 12:52:27 +08:00
|
|
|
;RUN: -cfg-heat-colors=true -cfg-weights=true -enable-new-pm=0 2>/dev/null
|
2020-04-01 02:43:25 +08:00
|
|
|
;RUN: opt < %s -analyze -dot-cfg \
|
2020-10-22 12:52:27 +08:00
|
|
|
;RUN: -cfg-heat-colors=false -cfg-weights=false -enable-new-pm=0 2>/dev/null
|
2007-06-06 04:23:20 +08:00
|
|
|
;PR 1497
|
|
|
|
|
|
|
|
define void @foo() {
|
|
|
|
entry:
|
|
|
|
br label %return
|
|
|
|
|
|
|
|
return: ; preds = %entry
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|