1
Fork 0

compiler/rustc_llvm: Enable M68k LLVM target

This commit is contained in:
John Paul Adrian Glaubitz 2021-08-25 07:49:17 +00:00
parent 5e56778dc8
commit fa27d50caa
3 changed files with 16 additions and 0 deletions

View file

@ -201,6 +201,12 @@ void LLVMRustAddLastExtensionPasses(
#define SUBTARGET_AVR
#endif
#ifdef LLVM_COMPONENT_M68k
#define SUBTARGET_M68K SUBTARGET(M68k)
#else
#define SUBTARGET_M68K
#endif
#ifdef LLVM_COMPONENT_MIPS
#define SUBTARGET_MIPS SUBTARGET(Mips)
#else
@ -248,6 +254,7 @@ void LLVMRustAddLastExtensionPasses(
SUBTARGET_ARM \
SUBTARGET_AARCH64 \
SUBTARGET_AVR \
SUBTARGET_M68K \
SUBTARGET_MIPS \
SUBTARGET_PPC \
SUBTARGET_SYSTEMZ \