1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Other/2007-06-05-PassID.ll
Arthur Eubanks f762198a61 [test] Fix tests using -analyze that fail under NPM
Many of these tests don't use the output of -analyze.
2020-10-21 21:54:30 -07:00

21 lines
701 B
LLVM

;RUN: opt < %s -analyze -dot-cfg-only -enable-new-pm=0 2>/dev/null
;RUN: opt < %s -passes=dot-cfg-only 2>/dev/null
;RUN: opt < %s -analyze -dot-cfg-only \
;RUN: -cfg-heat-colors=true -cfg-weights=true -enable-new-pm=0 2>/dev/null
;RUN: opt < %s -analyze -dot-cfg-only \
;RUN: -cfg-heat-colors=false -cfg-weights=false -enable-new-pm=0 2>/dev/null
;RUN: opt < %s -analyze -dot-cfg \
;RUN: -cfg-heat-colors=true -cfg-weights=true -enable-new-pm=0 2>/dev/null
;RUN: opt < %s -analyze -dot-cfg \
;RUN: -cfg-heat-colors=false -cfg-weights=false -enable-new-pm=0 2>/dev/null
;PR 1497
define void @foo() {
entry:
br label %return
return: ; preds = %entry
ret void
}