From c29f69e247b0e11a7b4c847febe79b88172ea3b8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 21 Jul 2015 00:40:08 +0000 Subject: [PATCH] AMDGPU: Set isMoveImm on s_movk_i32 llvm-svn: 242747 --- lib/Target/AMDGPU/SIInstructions.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/AMDGPU/SIInstructions.td b/lib/Target/AMDGPU/SIInstructions.td index 1ee63c67582..de8675e57fd 100644 --- a/lib/Target/AMDGPU/SIInstructions.td +++ b/lib/Target/AMDGPU/SIInstructions.td @@ -354,7 +354,7 @@ def S_CMP_LE_U32 : SOPC_32 <0x0000000b, "s_cmp_le_u32">; // SOPK Instructions //===----------------------------------------------------------------------===// -let isReMaterializable = 1 in { +let isReMaterializable = 1, isMoveImm = 1 in { defm S_MOVK_I32 : SOPK_32 , "s_movk_i32", []>; } // End isReMaterializable = 1 let Uses = [SCC] in {