[PATCH] D27877: AMDGPU: Fix sext_inreg for i1 in i16

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 17 00:22:49 PST 2016


arsenm created this revision.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.

This produces worse code when i16 is legal, mostly
due to combines getting confused by conversions inserted
 for uniform 16-bit operations.


https://reviews.llvm.org/D27877

Files:
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/sext-in-reg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27877.81839.patch
Type: text/x-patch
Size: 5797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161217/dc9efedf/attachment.bin>


More information about the llvm-commits mailing list