diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-11-17 07:04:43 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-11-17 07:04:43 +0000 |
| commit | 63ed749ce083c43df7c49e22dded14be517f7d8c (patch) | |
| tree | da5015322be4245b53e27a0d3a2c37419cd63c4a /llvm/lib/Target | |
| parent | 45ca1c019405202a529f5d3b5105566318019ddc (diff) | |
| download | bcm5719-llvm-63ed749ce083c43df7c49e22dded14be517f7d8c.tar.gz bcm5719-llvm-63ed749ce083c43df7c49e22dded14be517f7d8c.zip | |
LI could theoretically be used for the lo-part of a global address, just like
lis can be used for the high part.
llvm-svn: 24388
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.td b/llvm/lib/Target/PowerPC/PPCInstrInfo.td index f65de6115df..54acd9b5961 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.td +++ b/llvm/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, s16imm:$imm), +def LI : DForm_2_r0<14, (ops GPRC:$rD, symbolLo:$imm), "li $rD, $imm", IntGeneral, [(set GPRC:$rD, immSExt16:$imm)]>; def LIS : DForm_2_r0<15, (ops GPRC:$rD, symbolHi:$imm), |

