mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
c6d65863c3
In the existing logic, for a given alloca, as long as its pointer value is stored into another location, it's considered as escaped. This is a bit too conservative. Specifically, in non-optimized build mode, it's often to have patterns of code that first store an alloca somewhere and then load it right away. These used should be handled without conservatively marking them escaped. This patch tracks how the memory location where an alloca pointer is stored into is being used. As long as we only try to load from that location and nothing else, we can still consider the original alloca not escaping and keep it on the stack instead of putting it on the frame. Differential Revision: https://reviews.llvm.org/D91305 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CoroCleanup.cpp | ||
CoroEarly.cpp | ||
CoroElide.cpp | ||
CoroFrame.cpp | ||
CoroInstr.h | ||
CoroInternal.h | ||
CoroSplit.cpp | ||
Coroutines.cpp |