[globalisel] LLVM_BUILD_GLOBAL_ISEL=OFF should prevent GlobalISel instruction selector from being declared.
llvm-svn: 297786
This commit is contained in:
parent
f81cc098ca
commit
a228df75c0
|
@ -11,6 +11,8 @@
|
|||
/// AArch64.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifdef LLVM_BUILD_GLOBAL_ISEL
|
||||
|
||||
#ifndef LLVM_LIB_TARGET_AARCH64_AARCH64INSTRUCTIONSELECTOR_H
|
||||
#define LLVM_LIB_TARGET_AARCH64_AARCH64INSTRUCTIONSELECTOR_H
|
||||
|
||||
|
@ -66,3 +68,4 @@ private:
|
|||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_LIB_TARGET_AARCH64_AARCH64INSTRUCTIONSELECTOR_H
|
||||
#endif // LLVM_BUILD_GLOBAL_ISEL
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
/// This file declares the targeting of the InstructionSelector class for X86.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifdef LLVM_BUILD_GLOBAL_ISEL
|
||||
#ifndef LLVM_LIB_TARGET_X86_X86INSTRUCTIONSELECTOR_H
|
||||
#define LLVM_LIB_TARGET_X86_X86INSTRUCTIONSELECTOR_H
|
||||
|
||||
|
@ -59,3 +60,4 @@ private:
|
|||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_LIB_TARGET_X86_X86INSTRUCTIONSELECTOR_H
|
||||
#endif // LLVM_BUILD_GLOBAL_ISEL
|
||||
|
|
Loading…
Reference in New Issue