summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian K├Ânig <christian.koenig@amd.com>2013-03-28 11:37:24 +0100
committerTom Stellard <thomas.stellard@amd.com>2013-04-20 00:03:44 -0400
commit437e132c668a181f8a6fadd1db087279703268fb (patch)
tree866f118164ecd775db4b15c8583720f49c9b0691
parent6badce7e258dd81f87570ee0d959dfa0c00d850e (diff)
R600/SI: remove reg classes from interpolation patterns
Signed-off-by: Christian K??nig <christian.koenig@amd.com>
-rw-r--r--lib/Target/R600/SIInstructions.td14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td
index fe0c1f60f59..827aa249db6 100644
--- a/lib/Target/R600/SIInstructions.td
+++ b/lib/Target/R600/SIInstructions.td
@@ -1425,16 +1425,16 @@ def : Pat <
/********** ===================== **********/
def : Pat <
- (int_SI_fs_constant imm:$attr_chan, imm:$attr, M0Reg:$params),
- (V_INTERP_MOV_F32 INTERP.P0, imm:$attr_chan, imm:$attr, M0Reg:$params)
+ (int_SI_fs_constant imm:$attr_chan, imm:$attr, i32:$params),
+ (V_INTERP_MOV_F32 INTERP.P0, imm:$attr_chan, imm:$attr, i32:$params)
>;
def : Pat <
- (int_SI_fs_interp imm:$attr_chan, imm:$attr, M0Reg:$params, VReg_64:$ij),
- (V_INTERP_P2_F32 (V_INTERP_P1_F32 (EXTRACT_SUBREG VReg_64:$ij, sub0),
- imm:$attr_chan, imm:$attr, M0Reg:$params),
- (EXTRACT_SUBREG VReg_64:$ij, sub1),
- imm:$attr_chan, imm:$attr, M0Reg:$params)
+ (int_SI_fs_interp imm:$attr_chan, imm:$attr, M0Reg:$params, v2i32:$ij),
+ (V_INTERP_P2_F32 (V_INTERP_P1_F32 (EXTRACT_SUBREG v2i32:$ij, sub0),
+ imm:$attr_chan, imm:$attr, i32:$params),
+ (EXTRACT_SUBREG v2i32:$ij, sub1),
+ imm:$attr_chan, imm:$attr, i32:$params)
>;
/********** ================== **********/