R600/SI: Try to use v_madak_f32
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 21 Feb 2015 21:29:07 +0000 (21:29 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 21 Feb 2015 21:29:07 +0000 (21:29 +0000)
commitc490f78e5398c3333f39e31ca71f077334768616
tree2d122b5d79546fea74786bcf9df508ee8126b423
parent90363904984ad712f9581332aa54a77bf34f605a
R600/SI: Try to use v_madak_f32

This is a code size optimization when the constant
only has one use.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230148 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp
lib/Target/R600/SIInstrInfo.h
test/CodeGen/R600/madak.ll [new file with mode: 0644]