Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HansKristian-Work/dxil-spirv.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Kristian Arntzen <post@arntzen-software.no>2022-04-04 13:19:39 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2022-04-04 17:27:17 +0300
commitdfa103fe8197e82d95bd105dde70ca392753008d (patch)
tree9542cce0de7c62a5dca990cf073d8cf4e53b5eb1 /node.hpp
parent0527a47462126fe6cf20c8817b4797658d0ef688 (diff)
Do not explicitly check if block is load bearing.
This is handled by the appropriate functions implicitly. We don't want to consider load bearing for loop break blocks, since that check is much stronger than for selection constructs.
Diffstat (limited to 'node.hpp')
-rw-r--r--node.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.hpp b/node.hpp
index 00fd678..de729f3 100644
--- a/node.hpp
+++ b/node.hpp
@@ -92,6 +92,7 @@ private:
const CFGNode *get_innermost_loop_header_for(const CFGNode *other) const;
bool branchless_path_to(const CFGNode *to) const;
bool post_dominates(const CFGNode *other) const;
+ bool post_dominates_perfect_structured_construct() const;
bool dominates_all_reachable_exits() const;
static CFGNode *find_common_dominator(CFGNode *a, CFGNode *b);
static CFGNode *find_common_post_dominator(CFGNode *a, CFGNode *b);