llvm-6502/lib/Target/R600/InstPrinter
Michel Danzer 01115b1f50 R600/SI: Fix int_SI_fs_interp_constant
The important fix is that the constant interpolation value is stored in the
parameter slot P0, which is encoded as 2.

In addition, drop the SI_INTERP_CONST pseudo instruction, pass the parameter
slot as an operand to V_INTERP_MOV_F32 instead of hardcoding it there, and
add a special operand class for the parameter slots for type checking and
pretty printing.

NOTE: This is a candidate for the Mesa stable branch.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175193 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-14 19:03:25 +00:00
..
AMDGPUInstPrinter.cpp R600/SI: Fix int_SI_fs_interp_constant 2013-02-14 19:03:25 +00:00
AMDGPUInstPrinter.h R600/SI: Fix int_SI_fs_interp_constant 2013-02-14 19:03:25 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile