[llvm] r222037 - R600/SI: Mark s_movk_i32 as rematerializable
Tom Stellard
thomas.stellard at amd.com
Fri Nov 14 12:43:28 PST 2014
Author: tstellar
Date: Fri Nov 14 14:43:28 2014
New Revision: 222037
URL: http://llvm.org/viewvc/llvm-project?rev=222037&view=rev
Log:
R600/SI: Mark s_movk_i32 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=222037&r1=222036&r2=222037&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstructions.td (original)
+++ llvm/trunk/lib/Target/R600/SIInstructions.td Fri Nov 14 14:43:28 2014
@@ -327,7 +327,9 @@ def S_CMP_LE_U32 : SOPC_32 <0x0000000b,
// 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", []>;
/*
More information about the llvm-commits
mailing list