diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2022-02-02 12:12:32 +0000 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2022-02-02 12:21:28 +0000 |
commit | d556eb7e27c25ae20befb0811bc8a3423241431d (patch) | |
tree | ccbf0007a500a872a008c03b8742e73a5db1daf6 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | |
parent | 81d3144ebf856c835cd6b1443ed76be423184995 (diff) | |
download | llvm-d556eb7e27c25ae20befb0811bc8a3423241431d.zip llvm-d556eb7e27c25ae20befb0811bc8a3423241431d.tar.gz llvm-d556eb7e27c25ae20befb0811bc8a3423241431d.tar.bz2 |
[DebugInfo][InstrRef][NFC] Cache some PHI resolutions
Install a cache of DBG_INSTR_REF -> ValueIDNum resolutions, for scenarios
where the value has to be reconstructed from several DBG_PHIs. Whenever
this happens, it's because branch folding + tail duplication has messed
with the SSA form of the program, and we have to solve a mini SSA problem
to find the variable value. This is always called twice, so it makes sense
to cache the value.
This gives a ~0.5% geomean compile-time-performance improvement on CTMark.
Differential Revision: https://reviews.llvm.org/D118455
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
0 files changed, 0 insertions, 0 deletions