mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2025-01-03 21:51:05 +00:00
c978b72477
Ensure the dominance calculation visits all nodes in the CFG. The successor list of the pseudo-entry node is augmented with a single node in each cycle that otherwise would not be visited. Similarly, the predecssors list of the pseduo-exit node is augmented with the a single node in each cycle that otherwise would not be visited. Pulls DepthFirstSearch out so it's accessible outside of the dominator calculation. Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/279 |
||
---|---|---|
.. | ||
BasicBlock.cpp | ||
BasicBlock.h | ||
Construct.cpp | ||
Construct.h | ||
Function.cpp | ||
Function.h | ||
Id.cpp | ||
Id.h | ||
ValidationState.cpp | ||
ValidationState.h |