R600: Use new fmad node.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 20 Feb 2015 22:10:41 +0000 (22:10 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 20 Feb 2015 22:10:41 +0000 (22:10 +0000)
commit8d6300346f77b8729b7e80d5dd736d90d595f88b
tree6f4efd3fd471ece4089bc70c4ef52ddaceedf42d
parent0dc54c4dee349232b466d0e649834dde5d1b972a
R600: Use new fmad node.

This enables a few useful combines that used to only
use fma.

Also since v_mad_f32 apparently does not support denormals,
disable the existing cases that are custom handled if they are
requested.

llvm-svn: 230071
llvm/lib/Target/R600/AMDGPUISelLowering.cpp
llvm/lib/Target/R600/AMDGPUISelLowering.h
llvm/lib/Target/R600/AMDGPUInstrInfo.td
llvm/lib/Target/R600/AMDGPUInstructions.td
llvm/lib/Target/R600/R600Instructions.td
llvm/lib/Target/R600/SIISelLowering.cpp
llvm/lib/Target/R600/SIInstructions.td
llvm/test/CodeGen/R600/mad-combine.ll [new file with mode: 0644]