[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

Author: asl
Date: Wed Feb 24 23:53:39 2016
New Revision: 261825

URL: http://llvm.org/viewvc/llvm-project?rev=261825&view=rev
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.

Reviewers: asl

Subscribers: mcrosier, llvm-commits

Differential Revision: http://reviews.llvm.org/D17089


Modified: www/trunk/OpenProjects.html
URL: http://llvm.org/viewvc/llvm-project/www/trunk/OpenProjects.html?rev=261825&r1=261824&r2=261825&view=diff
--- 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
 <div class="www_text">
+<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:
+      <ol><li>lib/Target/Hexagon/RDF*</li>
+          <li>lib/Target/AArch64/AArch64AddressTypePromotion.cpp</li>
+     </ol>
+    </li>
 <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 mailing list