diff options
Diffstat (limited to 'llvm/lib/Target/X86/X86InstructionSelector.h')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstructionSelector.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstructionSelector.h b/llvm/lib/Target/X86/X86InstructionSelector.h index 205c8626656..2482734fa7d 100644 --- a/llvm/lib/Target/X86/X86InstructionSelector.h +++ b/llvm/lib/Target/X86/X86InstructionSelector.h @@ -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 |

