[PATCH] D136718: AMDGPU: Fix assert when trying to overextend liverange

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 16:17:16 PDT 2022


arsenm created this revision.
arsenm added reviewers: critson, foad, rampitec, AMDGPU.
Herald added subscribers: kosarev, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This was trying to add segments beyond the new and use,
so skip additional segments.

      

This would hit (S < E && "Cannot create empty or backwards segment").


https://reviews.llvm.org/D136718

Files:
  llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  llvm/test/CodeGen/AMDGPU/exec-mask-opt-cannot-create-empty-or-backward-segment.ll
  llvm/test/CodeGen/AMDGPU/opt-exec-masking-pre-ra-update-liveness.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136718.470639.patch
Type: text/x-patch
Size: 12100 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221025/b382a9bf/attachment-0001.bin>


More information about the llvm-commits mailing list