[PATCH] D103344: [AMDGPU] Fix a crash when selecting a particular case of buffer_load_format_d16

Julien Pagès via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 28 14:50:11 PDT 2021


jpages created this revision.
Herald added subscribers: foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
jpages requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

In this particular example, we had a crash when compiling it
for several architectures. This patch extends the legalization
of extract_subvector to avoid this problem.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103344

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.load.format2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103344.348587.patch
Type: text/x-patch
Size: 18030 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210528/9f1a5d0d/attachment.bin>


More information about the llvm-commits mailing list