[PATCH] D54340: AMDGPU: Fix various issues around the VirtReg2Value mapping

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 14 03:44:04 PST 2018


alex-t added inline comments.


================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:9305
       const RegisterSDNode *R = nullptr;
       if (N->getOpcode() == ISD::Register) {
         R = dyn_cast<RegisterSDNode>(N);
----------------
Removing the line "case ISD::Register", why don't you remove the related lines either?


Repository:
  rL LLVM

https://reviews.llvm.org/D54340





More information about the llvm-commits mailing list