[PATCH] D21760: AMDGPU: Implement per-function subtargets
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 27 11:55:43 PDT 2016
echristo added a comment.
One inline question mark for explanation, otherwise OK.
-eric
================
Comment at: lib/Target/AMDGPU/AMDGPUTargetMachine.cpp:219-228
@@ +218,12 @@
+
+#ifndef LLVM_BUILD_GLOBAL_ISEL
+ GISelAccessor *GISel = new GISelAccessor();
+#else
+ SIGISelActualAccessor *GISel =
+ new SIGISelActualAccessor();
+ GISel->CallLoweringInfo.reset(
+ new SICallLowering(*I->getTargetLowering()));
+ GISel->RegBankInfo.reset(
+ new SIRegisterBankInfo(*I->getRegisterInfo()));
+#endif
+
----------------
?
http://reviews.llvm.org/D21760
More information about the llvm-commits
mailing list