llvm 17 changes

This commit is contained in:
vH
2023-04-28 14:56:52 +02:00
parent 5813a4319c
commit 00c86b7cb1
6 changed files with 16 additions and 6 deletions

View File

@ -22,7 +22,9 @@ typedef long double max_align_t;
#include "llvm/IR/Module.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/MathExtras.h"
#if LLVM_VERSION_MAJOR < 17
#include "llvm/Transforms/IPO/PassManagerBuilder.h"
#endif
#if LLVM_VERSION_MAJOR > 3 || \
(LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR > 4)