diff options
author | Gulfem Savrun Yeniceri <gulfem@google.com> | 2021-12-11 03:14:48 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2021-12-17 08:49:43 -0800 |
commit | c446ac46746edcffab57d22c42c249a3954698c9 (patch) | |
tree | 253abc7bc3be576302e18409d3a4d81746f293b7 /.github/workflows/lldb-tests.yml | |
parent | 9fb79e6940b26145fdcaa79e9d74a76c61d6c2d4 (diff) | |
download | llvm-c446ac46746edcffab57d22c42c249a3954698c9.zip llvm-c446ac46746edcffab57d22c42c249a3954698c9.tar.gz llvm-c446ac46746edcffab57d22c42c249a3954698c9.tar.bz2 |
[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
(cherry picked from commit e5a8af7a90c6a9ac46293eb3600029d43d695b8e)
Diffstat (limited to '.github/workflows/lldb-tests.yml')
0 files changed, 0 insertions, 0 deletions