diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-07 22:11:43 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-07 22:11:43 +0000 |
commit | b2e05cb6b18d3d852874e836c1152b0df9aa24ab (patch) | |
tree | 1970c212949e719ca42aa32ada6ff2184eab3e10 /llvm/lib | |
parent | 00fda923b65670502c636c1c34c60f5fa717c2f0 (diff) | |
download | bcm5719-llvm-b2e05cb6b18d3d852874e836c1152b0df9aa24ab.tar.gz bcm5719-llvm-b2e05cb6b18d3d852874e836c1152b0df9aa24ab.zip |
64-bit WrapperPICPat patterns.
llvm-svn: 146086
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/Mips/Mips64InstrInfo.td | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/Mips64InstrInfo.td b/llvm/lib/Target/Mips/Mips64InstrInfo.td index 8a1245aa59d..bc9c5602cad 100644 --- a/llvm/lib/Target/Mips/Mips64InstrInfo.td +++ b/llvm/lib/Target/Mips/Mips64InstrInfo.td @@ -273,6 +273,12 @@ def : Pat<(add CPU64Regs:$hi, (MipsLo tjumptable:$lo)), def : Pat<(add CPU64Regs:$hi, (MipsLo tconstpool:$lo)), (DADDiu CPU64Regs:$hi, tconstpool:$lo)>; +def : WrapperPICPat<tglobaladdr, DADDiu, GP_64>; +def : WrapperPICPat<tconstpool, DADDiu, GP_64>; +def : WrapperPICPat<texternalsym, DADDiu, GP_64>; +def : WrapperPICPat<tblockaddress, DADDiu, GP_64>; +def : WrapperPICPat<tjumptable, DADDiu, GP_64>; + defm : BrcondPats<CPU64Regs, BEQ64, BNE64, SLT64, SLTu64, SLTi64, SLTiu64, ZERO_64>; |