[llvm-dev] Annotating DAG with locations for specific machine instructions

Nikos Stavropoulos via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 29 04:33:27 PDT 2016


if i understand well, Hexagon backend may have what you need. 
HexagonHardwareLoops.cpp  to begin.

On 29/08/2016 02:07 μμ, Tyro Software via llvm-dev wrote:
> I have a target-specific LoopPass which checks loops to see whether 
> some machine-specific instructions can be profitably used and needs to 
> mark them in a way that can easily be seen during machine instruction 
> lowering. So what I imagine could work is inserting 
> pseudo-instructions, e.g. at the end of the loop header - but I 
> haven't seen how to do this through IRBuilder or recognized an 
> equivalent action being performed on other targets. Please point me at 
> an example of this approach (or educate me on why it's never going to 
> work...)
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev


-- 

Nikos Stavropoulos
Compiler Engineer

Think-Silicon

http://www.think-silicon.com

Patras Science Park
26504, Patras, Greece
tel: +30 2610 911543

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160829/39015c42/attachment.html>


More information about the llvm-dev mailing list