diff options
author | Hans-Kristian Arntzen <hans-kristian.arntzen@arm.com> | 2018-01-24 21:46:53 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <hans-kristian.arntzen@arm.com> | 2018-01-24 22:32:11 +0300 |
commit | b3f6e3de8e0ca3cf167ec3d9ba816200f6b98066 (patch) | |
tree | 2408de582ef7f5e50c4d9030bb1e7100d8b84193 /spirv_cfg.hpp | |
parent | 09f550f71869c67d75fa86feb6e4cb32775cb750 (diff) |
Fix CFG::update_common_dominator.
The algorithm was too conservative causing lots of unnecessary
temporaries to be created.
Diffstat (limited to 'spirv_cfg.hpp')
-rw-r--r-- | spirv_cfg.hpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spirv_cfg.hpp b/spirv_cfg.hpp index 4790da5e..3f7ec01d 100644 --- a/spirv_cfg.hpp +++ b/spirv_cfg.hpp @@ -94,7 +94,6 @@ private: bool post_order_visit(uint32_t block); uint32_t visit_count = 0; - uint32_t update_common_dominator(uint32_t a, uint32_t b); bool is_back_edge(uint32_t to) const; }; |