[PATCH] D117607: GlobalISel: Fix assert on unmerge to different element of casted vector

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 18 14:24:42 PST 2022


arsenm created this revision.
arsenm added reviewers: aemerson, paquette, aditya_nandakumar, Petar.Avramovic.
Herald added subscribers: kerbowa, rovka, nhaehnle, jvesely.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This was failing if a G_UNMERGE_VALUES produced a different element
type than the cast result type.


https://reviews.llvm.org/D117607

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-asserts.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-unmerge-values.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117607.400986.patch
Type: text/x-patch
Size: 11212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220118/694f86c4/attachment-0001.bin>


More information about the llvm-commits mailing list