AMDGPU/SI: Promote i16 = fp_[us]int f32 for VI
authorTom Stellard <thomas.stellard@amd.com>
Sat, 12 Nov 2016 00:19:11 +0000 (00:19 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Sat, 12 Nov 2016 00:19:11 +0000 (00:19 +0000)
commitb4c8e8e30bc645367fbe60ab48f833199cc216a3
tree0127abdd0318f2205cecd9f3d8d0c64f7b614819
parent2f94a7a1fa7083ea9487d2aa2d1ef8eb2f33ab0a
AMDGPU/SI: Promote i16 = fp_[us]int f32 for VI

Summary: This fixes a regression caused by r286464.

Reviewers: arsenm

Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, llvm-commits, tony-tye

Differential Revision: https://reviews.llvm.org/D26570

llvm-svn: 286687
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/fp_to_sint.ll
llvm/test/CodeGen/AMDGPU/fp_to_uint.ll