[mips] Custom-legalize BR_JT.
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 6 Mar 2013 21:32:03 +0000 (21:32 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 6 Mar 2013 21:32:03 +0000 (21:32 +0000)
commitb7656a9cc4bf36752df38e7c02b910c9390b9c39
tree5c9932428af5265ee1abe4ca09cfce295ca08957
parent76c25dc2bf23b0c710d896ca61f236fe5b18ee08
[mips] Custom-legalize BR_JT.

In N64-static, GOT address is needed to compute the branch address.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176580 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsISelLowering.h
test/CodeGen/Mips/2010-07-20-Switch.ll