projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae5887
)
R600/SI: Mark s_mov_b32 and s_mov_b64 as rematerializable
author
Tom Stellard
<thomas.stellard@amd.com>
Fri, 21 Nov 2014 22:00:16 +0000
(22:00 +0000)
committer
Tom Stellard
<thomas.stellard@amd.com>
Fri, 21 Nov 2014 22:00:16 +0000
(22:00 +0000)
llvm-svn: 222579
llvm/lib/Target/R600/SIInstructions.td
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/R600/SIInstructions.td
b/llvm/lib/Target/R600/SIInstructions.td
index
90da7a9
..
bd91577
100644
(file)
--- 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