[PATCH] D129557: [AMDGPU] Improve liveness copying in si-optimize-exec-masking-pre-ra

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 07:26:40 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp:227
+      assert(SelLI->getSegmentContaining(SelIdx.getRegSlot()) &&
+             "No live interval segment covering defintion?");
+      for (auto I = SelLI->FindSegmentContaining(SelIdx.getRegSlot());
----------------
Typo defintion. The assert seems a bit redundant with the FindSegmentContaining below


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129557



More information about the llvm-commits mailing list