This patch is needed to have TargetLowering::getPICJumpTableRelocBase return a GLOBAL_OFFSET_TABLE node when a jump table entry is encoded as a GPRel64BlockAddress.
This should have been included in r149668, but somehow I missed it:
http://article.gmane.org/gmane.comp.compilers.llvm.cvs/107188
picjumptablerelocbase.patch (1.58 KB)