[PowerPC][Future] Initial support for PCRel addressing for jump tables.
authorVictor Huang <wei.huang@ibm.com>
Wed, 22 Apr 2020 15:45:01 +0000 (10:45 -0500)
committerKamau Bridgeman <kamau.bridgeman@ibm.com>
Wed, 22 Apr 2020 15:45:01 +0000 (10:45 -0500)
commit43abef06f42d5f9bab4e8363207d5c486705f6b6
tree8e956b202e9e6bb5e0a22376e570bfc0d115944f
parent662cbaf6476b7cc58d0d71ff98d95d00ce5b420e
[PowerPC][Future] Initial support for PCRel addressing for jump tables.

Add initial support for PC Relative addressing to get jump table base
address instead of using TOC.

Differential Revision: https://reviews.llvm.org/D75931
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/pcrel-jump-table.ll [new file with mode: 0644]