ARMRegisterBankInfo.h requires LLVM_BUILD_GLOBAL_ISEL to be defined. If it is not defined, then ARMGenRegisterBank.inc is not table generated and the inclusion of this header causes the build to fail.

llvm-svn: 302535
This commit is contained in:
Aaron Ballman 2017-05-09 14:59:48 +00:00
parent d0488d427c
commit 06297e839a
1 changed files with 2 additions and 0 deletions

View File

@ -13,7 +13,9 @@
#include "ARM.h"
#include "ARMCallLowering.h"
#include "ARMLegalizerInfo.h"
#ifndef LLVM_BUILD_GLOBAL_ISEL
#include "ARMRegisterBankInfo.h"
#endif
#include "ARMSubtarget.h"
#include "ARMTargetMachine.h"
#include "ARMTargetObjectFile.h"