radeon/llvm: Add custom SDNodes for MAX
authorTom Stellard <thomas.stellard@amd.com>
Thu, 17 May 2012 11:35:15 +0000 (07:35 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 17 May 2012 18:48:09 +0000 (14:48 -0400)
commit431bb79a41bd5e7402954385daea1594c3e750ab
treee48876a246422920a8fae0fb1a8c990f83b378be
parent602913192db1beadd9cc4252ec9ec633cfe7a21b
radeon/llvm: Add custom SDNodes for MAX

We now lower the various intrinsics for max to SDNodes and then use
tablegen patterns to lower the SDNodes to instructions.
src/gallium/drivers/radeon/AMDGPUGenInstrEnums.pl
src/gallium/drivers/radeon/AMDGPUISelLowering.cpp
src/gallium/drivers/radeon/AMDGPUISelLowering.h
src/gallium/drivers/radeon/AMDGPUInstrInfo.td [new file with mode: 0644]
src/gallium/drivers/radeon/AMDIL.td
src/gallium/drivers/radeon/AMDILISelDAGToDAG.cpp
src/gallium/drivers/radeon/AMDILISelLowering.h
src/gallium/drivers/radeon/AMDILInstructions.td
src/gallium/drivers/radeon/R600Instructions.td
src/gallium/drivers/radeon/SIInstructions.td