mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 07:30:43 +03:00
Add support for LLVM 12
This commit is contained in:
parent
8d71c8624a
commit
d8bc064cfb
21 changed files with 3493 additions and 60 deletions
|
@ -32,6 +32,14 @@
|
|||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/ToolOutputFile.h"
|
||||
#include "llvm/Support/YAMLTraits.h"
|
||||
#if LDC_MLIR_ENABLED
|
||||
#if LDC_LLVM_VER >= 1200
|
||||
#include "mlir/IR/BuiltinOps.h"
|
||||
#else
|
||||
#include "mlir/IR/Module.h"
|
||||
#endif
|
||||
#include "mlir/IR/MLIRContext.h"
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue