Skip to content

Commit ff0b066

Browse files
authored
Enable cfg-printer LLVM lit tests only if LLVM linked statically (intel#1479)
Signed-off-by: Alexey Bader <[email protected]>
1 parent 76f7e8b commit ff0b066

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

llvm/test/Other/cfg-printer-branch-weights.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
;RUN: opt < %s -analyze -dot-cfg -cfg-dot-filename-prefix=%t 2>/dev/null
22
;RUN: FileCheck %s -input-file=%t.f.dot
33

4+
;TODO: Investigate why this test doesn't work with dynamically linked libraries
5+
;REQUIRES: static-libs
6+
47
define void @f(i32) {
58
entry:
69
%check = icmp sgt i32 %0, 0

llvm/test/Other/cfg_deopt_unreach.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
; RUN: opt < %s -analyze -dot-cfg -cfg-hide-unreachable-paths -cfg-hide-deoptimize-paths -cfg-dot-filename-prefix=%t/both-flags 2>/dev/null
1010
; RUN: FileCheck %s -input-file=%t/both-flags.callee.dot -check-prefix=BOTH-FLAGS
1111

12+
; TODO: Investigate why this test doesn't work with dynamically linked libraries
13+
; REQUIRES: static-libs
14+
1215
declare i8 @llvm.experimental.deoptimize.i8(...)
1316

1417
define i8 @callee(i1* %c) alwaysinline {

0 commit comments

Comments
 (0)