AMDGPU: Use s_addk_i32 / s_mulk_i32
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 16 Apr 2016 01:46:49 +0000 (01:46 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 16 Apr 2016 01:46:49 +0000 (01:46 +0000)
commitb6be2027794fe03afa665c7c9ae727d032fafa95
treeb43a7e26199e324b1b53954a3eb0f157bf8ed0a6
parent190b232d73761ce785f7b3465fd5b3baf4095200
AMDGPU: Use s_addk_i32 / s_mulk_i32

llvm-svn: 266506
llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
llvm/test/CodeGen/AMDGPU/fceil64.ll
llvm/test/CodeGen/AMDGPU/ftrunc.f64.ll
llvm/test/CodeGen/AMDGPU/s_addk_i32.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/s_mulk_i32.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/shl_add_constant.ll