]> granicus.if.org Git - llvm/commit
[MIPS GlobalISel] Select inttoptr and ptrtoint
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Fri, 26 Jul 2019 13:08:06 +0000 (13:08 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Fri, 26 Jul 2019 13:08:06 +0000 (13:08 +0000)
commit85b958de34549ace16684c3ec157f2e9153a08bb
tree36b8dcdc53bf5d43fcbceb7bb5f3fa420c4e5bbd
parent3798c1bc58fad67298e3a0033c0b8c8ea3aa9d26
[MIPS GlobalISel] Select inttoptr and ptrtoint

Select G_INTTOPTR and G_PTRTOINT for MIPS32.

Differential Revision: https://reviews.llvm.org/D65217

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367104 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsInstructionSelector.cpp
lib/Target/Mips/MipsLegalizerInfo.cpp
lib/Target/Mips/MipsRegisterBankInfo.cpp
test/CodeGen/Mips/GlobalISel/instruction-select/inttoptr_and_ptrtoint.mir [new file with mode: 0644]
test/CodeGen/Mips/GlobalISel/legalizer/inttoptr_and_ptrtoint.mir [new file with mode: 0644]
test/CodeGen/Mips/GlobalISel/llvm-ir/inttoptr_and_ptrtoint.ll [new file with mode: 0644]
test/CodeGen/Mips/GlobalISel/regbankselect/inttoptr_and_ptrtoint.mir [new file with mode: 0644]