forked from OSchip/llvm-project
61394636f0
In the current state, this is only special cased for Allocation effects, but any effects on results allocated by the operation may be ignored when checking whether the op may be removed, as none of them are possible to be observed if the result is unused. A use case for this is for IRs for languages which always initialize on allocation. To correctly model such operations, a Write as well as an Allocation effect should be placed on the result. This would prevent the Op from being deleted if unused however. This patch fixes that issue. Differential Revision: https://reviews.llvm.org/D129854 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
CallInterfaces.cpp | ||
CastInterfaces.cpp | ||
ControlFlowInterfaces.cpp | ||
CopyOpInterface.cpp | ||
DataLayoutInterfaces.cpp | ||
DerivedAttributeOpInterface.cpp | ||
InferIntRangeInterface.cpp | ||
InferTypeOpInterface.cpp | ||
LoopLikeInterface.cpp | ||
ParallelCombiningOpInterface.cpp | ||
SideEffectInterfaces.cpp | ||
TilingInterface.cpp | ||
VectorInterfaces.cpp | ||
ViewLikeInterface.cpp |