[PATCH] D45994: AMDGPU/GlobalISel: Enable TableGen'd instruction selector

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 8 22:34:58 PDT 2018


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp:478
+AMDGPUInstructionSelector::selectVSRC0(MachineOperand &Root) const {
+  auto Res = selectImm(Root);
+  if (Res != None)
----------------
We don't fold immediates in the DAG selector now, so why do this here?


Repository:
  rL LLVM

https://reviews.llvm.org/D45994





More information about the llvm-commits mailing list