[llvm] r222579 - R600/SI: Mark s_mov_b32 and s_mov_b64 as rematerializable

Tom Stellard thomas.stellard at amd.com
Fri Nov 21 14:00:16 PST 2014


Author: tstellar
Date: Fri Nov 21 16:00:16 2014
New Revision: 222579

URL: http://llvm.org/viewvc/llvm-project?rev=222579&view=rev
Log:
R600/SI: Mark s_mov_b32 and s_mov_b64 as rematerializable

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=222579&r1=222578&r2=222579&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstructions.td (original)
+++ llvm/trunk/lib/Target/R600/SIInstructions.td Fri Nov 21 16:00:16 2014
@@ -96,8 +96,10 @@ defm S_BUFFER_LOAD_DWORDX16 : SMRD_Helpe
 //===----------------------------------------------------------------------===//
 
 let isMoveImm = 1 in {
+let isReMaterializable = 1 in {
 def S_MOV_B32 : SOP1_32 <0x00000003, "s_mov_b32", []>;
 def S_MOV_B64 : SOP1_64 <0x00000004, "s_mov_b64", []>;
+} // let isRematerializeable = 1
 def S_CMOV_B32 : SOP1_32 <0x00000005, "s_cmov_b32", []>;
 def S_CMOV_B64 : SOP1_64 <0x00000006, "s_cmov_b64", []>;
 } // End isMoveImm = 1





More information about the llvm-commits mailing list