]> granicus.if.org Git - llvm/commit
Merging r295990:
authorHans Wennborg <hans@hanshq.net>
Fri, 24 Feb 2017 18:56:41 +0000 (18:56 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 24 Feb 2017 18:56:41 +0000 (18:56 +0000)
commitfa13347f235f8c3d8ddaa0a4ee53de6e8903fa99
tree60843798dadb4e826be83be5672d0ac796e92a94
parent3ddbfabbacd30161abb6fb27e716f37abf1ad795
Merging r295990:
------------------------------------------------------------------------
r295990 | jvesely | 2017-02-23 08:12:21 -0800 (Thu, 23 Feb 2017) | 5 lines

AMDGPU/SI: Fix trunc i16 pattern

Hit on ASICs that support 16bit instructions.

Differential Revision: https://reviews.llvm.org/D30281
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@296158 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/VOP1Instructions.td
test/CodeGen/AMDGPU/trunc.ll