[www] r261825 - Add TODO item about generalizing target-specific passes to OpenProjects
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 24 22:51:41 PST 2016
On Thu, Feb 25, 2016 at 12:53 AM, Anton Korobeynikov via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: asl
> Date: Wed Feb 24 23:53:39 2016
> New Revision: 261825
>
> URL: http://llvm.org/viewvc/llvm-project?rev=261825&view=rev
> Log:
> 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
>
> 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">
>
> <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
>
Another glamorous example is ARMOptimizeBarriersPass, FYI.
--
Davide
"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare
More information about the llvm-commits
mailing list