OSDN Git Service

Have TargetLowering::getPICJumpTableRelocBase return a node that points to the
authorAkira Hatanaka <ahatanaka@mips.com>
Mon, 9 Apr 2012 20:32:12 +0000 (20:32 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Mon, 9 Apr 2012 20:32:12 +0000 (20:32 +0000)
commit787c3fd385834db61bd955dcc40fb02b77c183a9
treec836d49c2234c032a6650afa4c59490c9997ba8e
parent7f354557089d93cc681c440f9e064c906e1fbd58
Have TargetLowering::getPICJumpTableRelocBase return a node that points to the
GOT if jump table uses 64-bit gp-relative relocation.

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