[PATCH] D116714: AMDGPU: Fix LiveVariables error after optimizing VGPR ranges

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 5 17:27:26 PST 2022


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

This was not removing the block from the live set depending on the
specific depth first visit order. Fixes a verifier error in the OpenCL
conformance tests.


https://reviews.llvm.org/D116714

Files:
  llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
  llvm/test/CodeGen/AMDGPU/block-should-not-be-in-alive-blocks.mir
  llvm/test/CodeGen/AMDGPU/vgpr-liverange-ir.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116714.397751.patch
Type: text/x-patch
Size: 13247 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220106/58f83313/attachment-0001.bin>


More information about the llvm-commits mailing list