[PATCH] D17089: Add TODO item about generalizing target-specific passes to OpenProjects

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 11:56:27 PST 2016


hfinkel created this revision.
hfinkel added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.

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.

http://reviews.llvm.org/D17089

Files:
  OpenProjects.html

Index: OpenProjects.html
===================================================================
--- OpenProjects.html
+++ OpenProjects.html
@@ -667,6 +667,15 @@
 <div class="www_text">
 
 <ol>
+<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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17089.47500.patch
Type: text/x-patch
Size: 886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160210/46be3810/attachment.bin>


More information about the llvm-commits mailing list