aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-c-test
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-02-28 16:38:45 +0100
committerNikita Popov <npopov@redhat.com>2023-03-02 09:53:50 +0100
commitf7ca01333214f934c580c162afdee933e7430b6c (patch)
tree634bbd953faeb5ac59a8ba11499fd4a664debe6a /llvm/tools/llvm-c-test
parent5705dc7606556f9f4ee48835e228cb5330692d6c (diff)
downloadllvm-f7ca01333214f934c580c162afdee933e7430b6c.zip
llvm-f7ca01333214f934c580c162afdee933e7430b6c.tar.gz
llvm-f7ca01333214f934c580c162afdee933e7430b6c.tar.bz2
[llvm-c] Remove bindings for creating legacy passes
Legacy passes are only supported for codegen, and I don't believe it's possible to write backends using the C API, so we should drop all of those. Reduces the number of places that need to be modified when removing legacy passes. Differential Revision: https://reviews.llvm.org/D144970
Diffstat (limited to 'llvm/tools/llvm-c-test')
-rw-r--r--llvm/tools/llvm-c-test/include-all.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/tools/llvm-c-test/include-all.c b/llvm/tools/llvm-c-test/include-all.c
index 69ed753..eada03c 100644
--- a/llvm/tools/llvm-c-test/include-all.c
+++ b/llvm/tools/llvm-c-test/include-all.c
@@ -35,11 +35,7 @@
#include "llvm-c/Support.h"
#include "llvm-c/Target.h"
#include "llvm-c/TargetMachine.h"
-#include "llvm-c/Transforms/InstCombine.h"
-#include "llvm-c/Transforms/IPO.h"
+#include "llvm-c/Transforms/PassBuilder.h"
#include "llvm-c/Transforms/PassManagerBuilder.h"
-#include "llvm-c/Transforms/Scalar.h"
-#include "llvm-c/Transforms/Utils.h"
-#include "llvm-c/Transforms/Vectorize.h"
#include "llvm-c/Types.h"
#include "llvm-c/lto.h"