[llvm-dev] Loop identification

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 26 14:00:23 PST 2017


On 1/16/2017 2:23 AM, Catello Cioffi wrote:
> What I was thinking to do is to modify the Mips backend adding a Loop
> Pass or a Function Pass. Do you think that this could work?

You can now add your own loop pass that could do loop idiom recognition 
for your target.  I just did that for Hexagon in:
https://reviews.llvm.org/rL293213.

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-dev mailing list