[PATCH] D56304: AMDGPU/GlobalISel: Fix some crashs in g_unmerge_values/g_merge_values

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 3 17:50:47 PST 2019


arsenm created this revision.
arsenm added reviewers: rampitec, tstellar.
Herald added subscribers: kristof.beyls, t-tye, tpr, dstuttard, javed.absar, rovka, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

This was crashing in the predicate function assuming the value
is a vector.

      

Copy more of what AArch64 uses. This probably needs more refinement
later, but I don't exactly understand what it means in some cases,
particularly since any legalization for these seems to be missing.


https://reviews.llvm.org/D56304

Files:
  lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values-xfail.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56304.180185.patch
Type: text/x-patch
Size: 8188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190104/2b2bde5f/attachment.bin>


More information about the llvm-commits mailing list