blob: 6964f2824d68b8bb2f72a964d7670b074f2373f2 [file] [log] [blame]
;RUN: opt < %s -analyze -dot-cfg-only 2>/dev/null
;RUN: opt < %s -analyze -passes=dot-cfg-only 2>/dev/null
;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
;PR 1497
define void @foo() {
entry:
br label %return
return: ; preds = %entry
ret void
}