[llvm] r302537 - Amend r302535; ifndef and ifdef are different, as it turns out.
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Tue May 9 08:12:03 PDT 2017
Author: aaronballman
Date: Tue May 9 10:12:03 2017
New Revision: 302537
URL: http://llvm.org/viewvc/llvm-project?rev=302537&view=rev
Log:
Amend r302535; ifndef and ifdef are different, as it turns out.
Modified:
llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp?rev=302537&r1=302536&r2=302537&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp Tue May 9 10:12:03 2017
@@ -13,7 +13,7 @@
#include "ARM.h"
#include "ARMCallLowering.h"
#include "ARMLegalizerInfo.h"
-#ifndef LLVM_BUILD_GLOBAL_ISEL
+#ifdef LLVM_BUILD_GLOBAL_ISEL
#include "ARMRegisterBankInfo.h"
#endif
#include "ARMSubtarget.h"
More information about the llvm-commits
mailing list