summaryrefslogtreecommitdiff
path: root/lib/Target/R600/SIISelLowering.h
diff options
context:
space:
mode:
authorMichel Danzer <michel.daenzer@amd.com>2013-02-14 19:03:25 +0000
committerMichel Danzer <michel.daenzer@amd.com>2013-02-14 19:03:25 +0000
commit01115b1f5032b848659669b161af1bdd9e646208 (patch)
treed9b0a1d59292c3150d80fc98026e7c0aacf9098a /lib/Target/R600/SIISelLowering.h
parent06121de923cb7e8e2ea3cf527f281d9e7825e518 (diff)
downloadllvm-01115b1f5032b848659669b161af1bdd9e646208.tar.gz
llvm-01115b1f5032b848659669b161af1bdd9e646208.tar.bz2
llvm-01115b1f5032b848659669b161af1bdd9e646208.tar.xz
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
Diffstat (limited to 'lib/Target/R600/SIISelLowering.h')
-rw-r--r--lib/Target/R600/SIISelLowering.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/R600/SIISelLowering.h b/lib/Target/R600/SIISelLowering.h
index 8528c24a3c..f4bc94da40 100644
--- a/lib/Target/R600/SIISelLowering.h
+++ b/lib/Target/R600/SIISelLowering.h
@@ -27,8 +27,6 @@ class SITargetLowering : public AMDGPUTargetLowering {
MachineBasicBlock::iterator I, unsigned Opocde) const;
void LowerSI_INTERP(MachineInstr *MI, MachineBasicBlock &BB,
MachineBasicBlock::iterator I, MachineRegisterInfo & MRI) const;
- void LowerSI_INTERP_CONST(MachineInstr *MI, MachineBasicBlock &BB,
- MachineBasicBlock::iterator I, MachineRegisterInfo &MRI) const;
void LowerSI_WQM(MachineInstr *MI, MachineBasicBlock &BB,
MachineBasicBlock::iterator I, MachineRegisterInfo & MRI) const;
void LowerSI_V_CNDLT(MachineInstr *MI, MachineBasicBlock &BB,