[PATCH] D158359: [AMDGPU] Adjust swdev373493.ll to remove reduced switch undef instruction

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 20 03:35:33 PDT 2023


RKSimon created this revision.
RKSimon added reviewers: arsenm, foad, yassingh.
Herald added subscribers: StephenFan, kerbowa, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
RKSimon requested review of this revision.
Herald added subscribers: wangpc, wdng.
Herald added a project: LLVM.

As noted on D158068 <https://reviews.llvm.org/D158068> + D141895 <https://reviews.llvm.org/D141895> - we should be avoiding switch undef in general (and hopfully D158068 <https://reviews.llvm.org/D158068> will help prevent reductions introducing them in the future).

Based on suggestions by @arsenm


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158359

Files:
  llvm/test/CodeGen/AMDGPU/swdev373493.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158359.551812.patch
Type: text/x-patch
Size: 6589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230820/7b498e52/attachment.bin>


More information about the llvm-commits mailing list