OSDN Git Service

AMDGPU/SI: Fix trunc i16 pattern
authorJan Vesely <jan.vesely@rutgers.edu>
Thu, 23 Feb 2017 16:12:21 +0000 (16:12 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Thu, 23 Feb 2017 16:12:21 +0000 (16:12 +0000)
commitdae323db224b349a483f8a90a2b730ec82f9826b
tree2686ada908408e162df87d8eea55d154dfd012b3
parent65875f1c7e0174b008e946604b81b66a2c5b2a85
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/trunk@295990 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/VOP1Instructions.td
test/CodeGen/AMDGPU/trunc.ll