aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorRafael Auler <rafaelauler@fb.com>2022-08-26 18:39:36 -0700
committerRafael Auler <rafaelauler@fb.com>2022-10-12 18:39:50 -0700
commit4f158995b9cddae392bfb5989af8c83101ae0789 (patch)
treea4ca41bb99fc223675b25b3728f8804859a1e497 /llvm/lib/CodeGen/ModuloSchedule.cpp
parent8d1fc45dc377fe554e50a6bda19aa23c9957041f (diff)
downloadllvm-4f158995b9cddae392bfb5989af8c83101ae0789.zip
llvm-4f158995b9cddae392bfb5989af8c83101ae0789.tar.gz
llvm-4f158995b9cddae392bfb5989af8c83101ae0789.tar.bz2
[BOLT] Add pass to fix ambiguous memory references
This adds a round of checks to memory references, looking for incorrect references to jump table objects. Fix them by replacing the jump table reference with another object reference + offset. This solves bugs related to regular data references in code accidentally being bound to a jump table, and this reference being updated to a new (incorrect) location because we moved this jump table. Fixes #55004 Reviewed By: #bolt, maksfb Differential Revision: https://reviews.llvm.org/D134098
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions