[llvm] r242747 - AMDGPU: Set isMoveImm on s_movk_i32
Matt Arsenault
Matthew.Arsenault at amd.com
Mon Jul 20 17:40:08 PDT 2015
Author: arsenm
Date: Mon Jul 20 19:40:08 2015
New Revision: 242747
URL: http://llvm.org/viewvc/llvm-project?rev=242747&view=rev
Log:
AMDGPU: Set isMoveImm on s_movk_i32
Modified:
llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
Modified: llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIInstructions.td?rev=242747&r1=242746&r2=242747&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIInstructions.td (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIInstructions.td Mon Jul 20 19:40:08 2015
@@ -354,7 +354,7 @@ def S_CMP_LE_U32 : SOPC_32 <0x0000000b,
// SOPK Instructions
//===----------------------------------------------------------------------===//
-let isReMaterializable = 1 in {
+let isReMaterializable = 1, isMoveImm = 1 in {
defm S_MOVK_I32 : SOPK_32 <sopk<0x00>, "s_movk_i32", []>;
} // End isReMaterializable = 1
let Uses = [SCC] in {
More information about the llvm-commits
mailing list