R600/SI: Mark s_movk_i32 as rematerializable
authorTom Stellard <thomas.stellard@amd.com>
Fri, 14 Nov 2014 20:43:28 +0000 (20:43 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 14 Nov 2014 20:43:28 +0000 (20:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222037 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/SIInstructions.td

index f6c62d22cabc3549475a349306871237e17e01a6..90da7a9b45cd34f4632d598a965ef4532a19b047 100644 (file)
@@ -327,7 +327,9 @@ def S_CMP_LE_U32 : SOPC_32 <0x0000000b, "s_cmp_le_u32">;
 // SOPK Instructions
 //===----------------------------------------------------------------------===//
 
+let isReMaterializable = 1 in {
 def S_MOVK_I32 : SOPK_32 <0x00000000, "s_movk_i32", []>;
+} // End isReMaterializable = 1
 def S_CMOVK_I32 : SOPK_32 <0x00000002, "s_cmovk_i32", []>;
 
 /*