summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-07-21 00:40:08 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-07-21 00:40:08 +0000
commitf849bb49cc188eb0844a042b312ae76368d25693 (patch)
tree229dad1d1e759d7bc341896074cbb714b8c01154
parent95ba62c91a10ca46a10e7a2b8229b56d80beadd9 (diff)
downloadbcm5719-llvm-f849bb49cc188eb0844a042b312ae76368d25693.tar.gz
bcm5719-llvm-f849bb49cc188eb0844a042b312ae76368d25693.zip
AMDGPU: Set isMoveImm on s_movk_i32
llvm-svn: 242747
-rw-r--r--llvm/lib/Target/AMDGPU/SIInstructions.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstructions.td b/llvm/lib/Target/AMDGPU/SIInstructions.td
index 1ee63c67582..de8675e57fd 100644
--- a/llvm/lib/Target/AMDGPU/SIInstructions.td
+++ b/llvm/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 <sopk<0x00>, "s_movk_i32", []>;
} // End isReMaterializable = 1
let Uses = [SCC] in {
OpenPOWER on IntegriCloud