[PATCH] D57656: GlobalISel: Fix artifact combiner constant legality checks for vectors

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 3 09:04:49 PST 2019


arsenm created this revision.
arsenm added reviewers: aemerson, dsanders, paquette, volkan, aditya_nandakumar.
Herald added subscribers: Petar.Avramovic, kristof.beyls, rovka, nhaehnle, wdng, jvesely.

Since G_CONSTANT is illegal for vectors, this needs to check
what buildConstant will produce for a splat vector.


https://reviews.llvm.org/D57656

Files:
  test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-anyext.mir
  test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-sext.mir
  test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-zext.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57656.184960.patch
Type: text/x-patch
Size: 11683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190203/1c4d1efa/attachment.bin>


More information about the llvm-commits mailing list