[www] r261825 - Add TODO item about generalizing target-specific passes to OpenProjects
Anton Korobeynikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 24 21:53:39 PST 2016
Date: Wed Feb 24 23:53:39 2016
New Revision: 261825
Add TODO item about generalizing target-specific passes to OpenProjects
Summary: We have a number of target-specific passes that probably should be target independent. I think we should add a TODO ltem about these (to investigate generalizing them). In addition to general comments on this idea, please do suggest others that should be added.
Subscribers: mcrosier, llvm-commits
Differential Revision: http://reviews.llvm.org/D17089
--- www/trunk/OpenProjects.html (original)
+++ www/trunk/OpenProjects.html Wed Feb 24 23:53:39 2016
@@ -667,6 +667,15 @@ link-time optimizations for code size op
+<li>Generalize target-specific backend passes that could be target-independent,
+ by adding necessary target hooks and making sure all IR/MI features (such as
+ register masks and predicated instructions) are properly handled. Enable these
+ for other targets where doing so is demonstrably beneficial.
+ For example:
<li>Merge the delay slot filling logic that is duplicated into (at least)
the Sparc and Mips backends into a single target independent pass.
Likewise, the branch shortening logic in several targets should be merged
More information about the llvm-commits