From 48deb0049ce62a4fbfd842264cc3966b56777870 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 2 Feb 2015 21:02:28 -0800 Subject: Add more nir tasks --- nir.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nir.xml b/nir.xml index 2651700..35bac46 100644 --- a/nir.xml +++ b/nir.xml @@ -61,6 +61,16 @@ binary-search if-ladders. It would be nice to be able to do that in NIR so that NIR's superior alias analysis can be put to good use. + + Add phi nodes to the CSE pass. + + + Implement a pass that removes pointless phi nodes. After copy + propagation and other optimization passes happen, it's easy to end up + with phi nodes with all sources the same. In this case, we can just + remove the phi node entirely and replace every use of its definition + with the common source. + -- cgit v1.2.3