classifyLocalReference(nullptr) is called to get the appropriate
relocation type for jump tables. We should not use @GOTPCREL for this
case.
The new test cases trigger assertions without this patch.
Paths
| Differential D112832
[X86] Don't affect jump tables under +tagged-globals. ClosedPublic Authored by morehouse on Oct 29 2021, 9:57 AM.
Details Summary classifyLocalReference(nullptr) is called to get the appropriate The new test cases trigger assertions without this patch.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 29 2021, 10:22 AM This revision was landed with ongoing or failed builds.Oct 29 2021, 10:38 AM Closed by commit rG33cc0cfd4677: [X86] Don't affect jump tables under +tagged-globals. (authored by morehouse). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 383426 llvm/lib/Target/X86/X86Subtarget.cpp
llvm/test/CodeGen/X86/tagged-globals-pic.ll
llvm/test/CodeGen/X86/tagged-globals-static.ll
|