forked from OSchip/llvm-project
21 lines
625 B
LLVM
21 lines
625 B
LLVM
;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
|
|
}
|
|
|