HomePhabricator

[Passes] Add relative lookup table converter pass

Authored by gulfem on Dec 29 2020, 1:32 PM.

Description

[Passes] Add relative lookup table converter pass

Lookup tables generate non PIC-friendly code, which requires dynamic relocation as described in:
https://bugs.llvm.org/show_bug.cgi?id=45244

This patch adds a new pass that converts lookup tables to relative lookup tables to make them PIC-friendly.

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

Details

Committed
gulfemApr 12 2021, 6:29 PM
Differential Revision
D94355: [Passes] Add relative lookup table converter pass
Parents
rG1310a19af062: [mlir] Use MCJIT to fix integration tests
Branches
Unknown
Tags
Unknown