[llvm-dev] Hexagon, DFAPacketizer and instruction expansion

Tobias Edler Von Koch via llvm-dev llvm-dev at lists.llvm.org
Fri Nov 20 08:05:45 PST 2015


You can use the RegisterScavenger to get registers post-RA (which might 
introduce additional spills if you've run out of regs completely).

Tobias

On 11/20/2015 04:20 AM, Bruce Hoult via llvm-dev wrote:
> Sorry to butt in .. but curious ...
>
> "a RET instruction which gets expanded into a write to a register and 
> a jump/branch"
>
> If you do that after Register Allocation then where do you get the 
> temporary register from? Not knowing the architecture in question at 
> all, maybe there's a dedicated one, in which case fine. But if not?
>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.



More information about the llvm-dev mailing list