From 59ed227a4b16c549ed3011e273c40770b2e8230d Mon Sep 17 00:00:00 2001 From: Alexey Bader Date: Tue, 23 Mar 2021 13:05:45 +0300 Subject: [PATCH] Revert "Enable cfg-printer LLVM lit tests only if LLVM linked statically (#1479)" This reverts commit ff0b066b884cabbf34bafbd5b2a0da1ead9123e7. Closes #1478. --- llvm/test/Other/cfg-printer-branch-weights.ll | 3 --- llvm/test/Other/cfg_deopt_unreach.ll | 3 --- 2 files changed, 6 deletions(-) diff --git a/llvm/test/Other/cfg-printer-branch-weights.ll b/llvm/test/Other/cfg-printer-branch-weights.ll index 63616b699dd6e..52dfd204eb98c 100644 --- a/llvm/test/Other/cfg-printer-branch-weights.ll +++ b/llvm/test/Other/cfg-printer-branch-weights.ll @@ -1,9 +1,6 @@ ;RUN: opt < %s -dot-cfg -cfg-weights -cfg-raw-weights -cfg-dot-filename-prefix=%t 2>/dev/null ;RUN: FileCheck %s -input-file=%t.f.dot -;TODO: Investigate why this test doesn't work with dynamically linked libraries -;REQUIRES: static-libs - define void @f(i32) { entry: %check = icmp sgt i32 %0, 0 diff --git a/llvm/test/Other/cfg_deopt_unreach.ll b/llvm/test/Other/cfg_deopt_unreach.ll index ec6f872c6054c..2aa04338bb4ab 100644 --- a/llvm/test/Other/cfg_deopt_unreach.ll +++ b/llvm/test/Other/cfg_deopt_unreach.ll @@ -9,9 +9,6 @@ ; RUN: opt < %s -dot-cfg -cfg-hide-unreachable-paths -cfg-hide-deoptimize-paths -cfg-dot-filename-prefix=%t/both-flags 2>/dev/null ; RUN: FileCheck %s -input-file=%t/both-flags.callee.dot -check-prefix=BOTH-FLAGS -; TODO: Investigate why this test doesn't work with dynamically linked libraries -; REQUIRES: static-libs - declare i8 @llvm.experimental.deoptimize.i8(...) define i8 @callee(i1* %c) alwaysinline {