projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AMDGPU/SI: Emit constant arrays in the .text section
[oota-llvm.git]
/
lib
/
Target
/
AMDGPU
/
SIInstructions.td
diff --git
a/lib/Target/AMDGPU/SIInstructions.td
b/lib/Target/AMDGPU/SIInstructions.td
index 2cee993d751cdcc1b77e80e49000d4a353a50e83..dcc74f77c1466d21ac53f5bbf6f3dca050cfc0a6 100644
(file)
--- a/
lib/Target/AMDGPU/SIInstructions.td
+++ b/
lib/Target/AMDGPU/SIInstructions.td
@@
-2039,8
+2039,8
@@
let Defs = [SCC] in {
def SI_CONSTDATA_PTR : InstSI <
(outs SReg_64:$dst),
- (ins),
- "", [(set SReg_64:$dst, (i64
SIconstdata_ptr
))]
+ (ins
const_ga:$ptr
),
+ "", [(set SReg_64:$dst, (i64
(SIconstdata_ptr (tglobaladdr:$ptr))
))]
> {
let SALU = 1;
}