diff options
| author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2021-08-25 07:49:17 +0000 |
|---|---|---|
| committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2021-09-17 15:07:14 +0000 |
| commit | fa27d50caa5b0972803b957212a813b582a6c013 (patch) | |
| tree | 9c4ec96ba42998c618b72e8cb20ed52f4f69a359 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 5e56778dc8b13973dde9345e23db085eeb7bbfe9 (diff) | |
| download | rust-fa27d50caa5b0972803b957212a813b582a6c013.tar.gz rust-fa27d50caa5b0972803b957212a813b582a6c013.zip | |
compiler/rustc_llvm: Enable M68k LLVM target
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp index b7cad1c3ba6..8dbacd71fc1 100644 --- a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp @@ -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 \ |
