R600/SI: Try to keep i32 mul on SALU
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 3 Sep 2014 23:24:35 +0000 (23:24 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 3 Sep 2014 23:24:35 +0000 (23:24 +0000)
commitc9cc488dfe39238417fe2625af4129e73aaaf14b
treed63f4451e422db0ff6cc0d2c40e1ba2b648997d5
parent017c14e722fb351bf9dcd9139992403dcabebe86
R600/SI: Try to keep i32 mul on SALU

Also fix bug this exposed where when legalizing an immediate
operand, a v_mov_b32 would be created with a VSrc dest register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217108 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp
lib/Target/R600/SIInstructions.td
test/CodeGen/R600/codegen-prepare-addrmode-sext.ll
test/CodeGen/R600/mul.ll
test/CodeGen/R600/sign_extend.ll