[PATCH] D21760: AMDGPU: Implement per-function subtargets
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 27 12:04:22 PDT 2016
arsenm added inline comments.
================
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
+
----------------
echristo wrote:
> ?
I just copied the global isel stuff from AArch64. We have some of it implemented already, but I apparently didn't move that out of the subtarget. I'll move those and remove the unimplemented piece
http://reviews.llvm.org/D21760
More information about the llvm-commits
mailing list