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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 9 12:02:32 PST 2018


arsenm added a comment.

Is there code for the lazy map that should be cleaned up now?



================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:9287
 
+static bool isCopyFromRegOfInlineAsm(const SDNode *N) {
+  assert(N->getOpcode() == ISD::CopyFromReg);
----------------
This is only used with asserts enabled, so will warn?


Repository:
  rL LLVM

https://reviews.llvm.org/D54340





More information about the llvm-commits mailing list