2010-01-27 03:25:59 +08:00
|
|
|
;RUN: opt < %s -analyze -dot-cfg-only 2>/dev/null
|
2016-09-16 02:35:27 +08:00
|
|
|
;RUN: opt < %s -analyze -passes=dot-cfg-only 2>/dev/null
|
2020-04-01 02:43:25 +08:00
|
|
|
;RUN: opt < %s -analyze -dot-cfg-only \
|
|
|
|
;RUN: -cfg-heat-colors=true -cfg-weights=true 2>/dev/null
|
|
|
|
;RUN: opt < %s -analyze -dot-cfg-only \
|
|
|
|
;RUN: -cfg-heat-colors=false -cfg-weights=false 2>/dev/null
|
|
|
|
;RUN: opt < %s -analyze -dot-cfg \
|
|
|
|
;RUN: -cfg-heat-colors=true -cfg-weights=true 2>/dev/null
|
|
|
|
;RUN: opt < %s -analyze -dot-cfg \
|
|
|
|
;RUN: -cfg-heat-colors=false -cfg-weights=false 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
|
|
|
|
}
|
|
|
|
|