[llvm] r182287 - R600/SI: Add a pattern for S_LOAD_DWORDX2_* instructions
Tom Stellard
thomas.stellard at amd.com
Mon May 20 08:02:28 PDT 2013
Author: tstellar
Date: Mon May 20 10:02:28 2013
New Revision: 182287
URL: http://llvm.org/viewvc/llvm-project?rev=182287&view=rev
Log:
R600/SI: Add a pattern for S_LOAD_DWORDX2_* instructions
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
Modified:
llvm/trunk/lib/Target/R600/SIInstructions.td
Modified: llvm/trunk/lib/Target/R600/SIInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIInstructions.td?rev=182287&r1=182286&r2=182287&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstructions.td (original)
+++ llvm/trunk/lib/Target/R600/SIInstructions.td Mon May 20 10:02:28 2013
@@ -1589,6 +1589,7 @@ multiclass SMRD_Pattern <SMRD Instr_IMM,
defm : SMRD_Pattern <S_LOAD_DWORD_IMM, S_LOAD_DWORD_SGPR, f32>;
defm : SMRD_Pattern <S_LOAD_DWORD_IMM, S_LOAD_DWORD_SGPR, i32>;
+defm : SMRD_Pattern <S_LOAD_DWORDX2_IMM, S_LOAD_DWORDX2_SGPR, i64>;
defm : SMRD_Pattern <S_LOAD_DWORDX4_IMM, S_LOAD_DWORDX4_SGPR, v16i8>;
defm : SMRD_Pattern <S_LOAD_DWORDX8_IMM, S_LOAD_DWORDX8_SGPR, v32i8>;
More information about the llvm-commits
mailing list