[llvm-dev] Mischeduler: Unknown reason for peak register pressure increase

Friedman, Eli via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 14 11:53:01 PDT 2017


On 8/11/2017 10:56 PM, Kerbow, Austin Michael via llvm-dev wrote:
> I am working on a project where we are integrating an existing pre-RA 
> scheduler into LLVM and we are trying to match our peak register 
> pressure values with the machine instruction schedulers values while 
> using X86. I am finding some mismatches in test cases like the one 
> attached. The registers "AH" and "AL" are live-out but not live-in and 
> I don't see that they are defined in the block when walking through 
> the operands for these instructions. The peak pressure printouts from 
> ScheduleDAGMILive look like they are accounting for AH and AL being 
> live because the corresponding pressure sets for these register 
> classes are increased. In the mischeduler is there a way to discover 
> that these two registers may be contributing to peak pressure in the 
> block?

AL and AH are subregisters of RAX.

-Eli

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170814/1f38aa10/attachment.html>


More information about the llvm-dev mailing list