diff options
author | Arthur Eubanks <aeubanks@google.com> | 2021-04-22 12:04:14 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2021-05-27 16:04:19 -0700 |
commit | 8086f9d87ee81aacf829bdad94744a75cf692ebc (patch) | |
tree | fa4085f9d4c627ed99d62d7b1cd8cc1a8786e867 /llvm/lib/Object/Archive.cpp | |
parent | 0fa5aac292b8e1bafb00b55233c78466b06bc323 (diff) | |
download | llvm-8086f9d87ee81aacf829bdad94744a75cf692ebc.zip llvm-8086f9d87ee81aacf829bdad94744a75cf692ebc.tar.gz llvm-8086f9d87ee81aacf829bdad94744a75cf692ebc.tar.bz2 |
[ConstFold] Simplify a load's GEP operand through local aliases
MSVC-style RTTI produces loads through a GEP of a local alias which
itself is a GEP. Currently we aren't able to devirtualize any virtual
calls when MSVC RTTI is enabled.
This patch attempts to simplify a load's GEP operand by calling
SymbolicallyEvaluateGEP() with an option to look through local aliases.
Differential Revision: https://reviews.llvm.org/D101100
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
0 files changed, 0 insertions, 0 deletions