[PATCH] D57522: GlobalISel: Implement narrowScalar for select

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 31 09:22:42 PST 2019


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

Don't handle vector conditions.

      

I think this can be merged in the future with
fewerElementsVectorSelect, although this becomes slightly tricky with
a vector condition.


https://reviews.llvm.org/D57522

Files:
  include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57522.184528.patch
Type: text/x-patch
Size: 12466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190131/083fec6d/attachment.bin>


More information about the llvm-commits mailing list