[PATCH] D20583: AMDGPU: Fix inconsistent lowering of select of vectors

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue May 24 11:33:53 PDT 2016


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.

f32 vectors would use a sequence of BFI instructions instead
of unrolled cmp + select. This was better in the case of a VALU
select with SGPR inputs, but we don't have a way of dealing with that
in the DAG.


http://reviews.llvm.org/D20583

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  test/CodeGen/AMDGPU/select-vectors.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20583.58278.patch
Type: text/x-patch
Size: 6631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160524/f4614782/attachment.bin>


More information about the llvm-commits mailing list