[PATCH] D114202: [AMDGPU] Fix SIPostRABundler crash on null register used by dbg value

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 18 16:10:29 PST 2021


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIPostRABundler.cpp:93
                                           BitVector &UsedRegUnits) const {
+  if (MI.isDebugInstr())
+    return;
----------------
arsenm wrote:
> This allows all meta instructions in the bundle region. Should it skip all of them?
I do not think so. This a least handles KILL which is also meta.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114202/new/

https://reviews.llvm.org/D114202



More information about the llvm-commits mailing list