summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-11-21 22:00:16 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-11-21 22:00:16 +0000
commitfb0011cf1acae89c56447d13daf40fa43216d892 (patch)
treedf133e1741b6ca9eece84ac14a47e2943e17ea84
parent3ae588789e322d900852e41d074d003a544a8003 (diff)
downloadbcm5719-llvm-fb0011cf1acae89c56447d13daf40fa43216d892.tar.gz
bcm5719-llvm-fb0011cf1acae89c56447d13daf40fa43216d892.zip
R600/SI: Mark s_mov_b32 and s_mov_b64 as rematerializable
llvm-svn: 222579
-rw-r--r--llvm/lib/Target/R600/SIInstructions.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/SIInstructions.td b/llvm/lib/Target/R600/SIInstructions.td
index 90da7a9b45c..bd91577a831 100644
--- a/llvm/lib/Target/R600/SIInstructions.td
+++ b/llvm/lib/Target/R600/SIInstructions.td
@@ -96,8 +96,10 @@ defm S_BUFFER_LOAD_DWORDX16 : SMRD_Helper <
//===----------------------------------------------------------------------===//
let isMoveImm = 1 in {
+let isReMaterializable = 1 in {
def S_MOV_B32 : SOP1_32 <0x00000003, "s_mov_b32", []>;
def S_MOV_B64 : SOP1_64 <0x00000004, "s_mov_b64", []>;
+} // let isRematerializeable = 1
def S_CMOV_B32 : SOP1_32 <0x00000005, "s_cmov_b32", []>;
def S_CMOV_B64 : SOP1_64 <0x00000006, "s_cmov_b64", []>;
} // End isMoveImm = 1
OpenPOWER on IntegriCloud