[PATCH v1 06/18] dom: build the domtree before optimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now that can build the dominance tree, let's effectivey
build it.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 optimize.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/optimize.c b/optimize.c
index 5cde6a58c..2f9c7910d 100644
--- a/optimize.c
+++ b/optimize.c
@@ -7,6 +7,7 @@
 
 #include <assert.h>
 #include "optimize.h"
+#include "flowgraph.h"
 #include "linearize.h"
 #include "liveness.h"
 #include "flow.h"
@@ -51,6 +52,8 @@ void optimize(struct entrypoint *ep)
 	 */
 	kill_unreachable_bbs(ep);
 
+	domtree_build(ep);
+
 	/*
 	 * Turn symbols into pseudos
 	 */
-- 
2.16.2

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux