projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c8fbe3
)
LI could theoretically be used for the lo-part of a global address, just like
author
Chris Lattner
<sabre@nondot.org>
Thu, 17 Nov 2005 07:04:43 +0000
(07:04 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 17 Nov 2005 07:04:43 +0000
(07:04 +0000)
lis can be used for the high part.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24388
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstrInfo.td
b/lib/Target/PowerPC/PPCInstrInfo.td
index f65de6115df871137b7cc1ce0a3e8fc7fe7c715f..54acd9b5961c46a9c03f0b280c13ac3d78ec5727 100644
(file)
--- a/
lib/Target/PowerPC/PPCInstrInfo.td
+++ b/
lib/Target/PowerPC/PPCInstrInfo.td
@@
-260,7
+260,7
@@
def MULLI : DForm_2< 7, (ops GPRC:$rD, GPRC:$rA, s16imm:$imm),
def SUBFIC : DForm_2< 8, (ops GPRC:$rD, GPRC:$rA, s16imm:$imm),
"subfic $rD, $rA, $imm", IntGeneral,
[(set GPRC:$rD, (sub immSExt16:$imm, GPRC:$rA))]>;
-def LI : DForm_2_r0<14, (ops GPRC:$rD, s
16imm
:$imm),
+def LI : DForm_2_r0<14, (ops GPRC:$rD, s
ymbolLo
:$imm),
"li $rD, $imm", IntGeneral,
[(set GPRC:$rD, immSExt16:$imm)]>;
def LIS : DForm_2_r0<15, (ops GPRC:$rD, symbolHi:$imm),