llvm-project/llvm/test/Transforms/RelLookupTableConverter/X86
Gulfem Savrun Yeniceri e5a8af7a90 [Passes] Fix relative lookup table converter pass
This patch fixes the relative table converter pass for the lookup table
accesses that are resulted in an instruction sequence, where gep is not
immediately followed by a load, such as gep being hoisted outside the loop
or another instruction is inserted in between them. The fix inserts the
call to load.relative.instrinsic in the original place of load instead of gep.
Issue is reported by FreeBSD via https://bugs.freebsd.org/259921.

Differential Revision: https://reviews.llvm.org/D115571
2021-12-12 04:40:17 +00:00
..
no_relative_lookup_table.ll [Passes] Add relative lookup table converter pass 2021-04-13 01:29:41 +00:00
relative_lookup_table.ll [Passes] Fix relative lookup table converter pass 2021-12-12 04:40:17 +00:00