Add support for LLVM 12

This commit is contained in:
Martin Kinkelin 2021-02-11 11:22:25 +01:00
parent 8d71c8624a
commit d8bc064cfb
21 changed files with 3493 additions and 60 deletions

View file

@ -64,6 +64,9 @@
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Target/TargetMachine.h"
#if LDC_MLIR_ENABLED
#include "mlir/IR/MLIRContext.h"
#endif
#include <assert.h>
#include <limits.h>
#include <stdio.h>