summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2015-02-02 21:02:28 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2015-02-02 21:02:28 -0800
commit48deb0049ce62a4fbfd842264cc3966b56777870 (patch)
tree0c24a5a091bb5ea63462cce2bb837f4d9940fff4
parentcb653b52b272054285771926a03581a2d6239378 (diff)
Add more nir tasks
-rw-r--r--nir.xml10
1 files changed, 10 insertions, 0 deletions
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.
</task>
+ <task name="phiCSE" mesa="no">
+ Add phi nodes to the CSE pass.
+ </task>
+ <task name="RemovePhi" mesa="no">
+ 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.
+ </task>
</category>
<category name="Wishlist">
<task name="i965-FS-SSA" mesa="no">