[llvm] r298652 - Move spill size and alignment info from MC to TargetRegisterInfo

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 12:51:31 PDT 2017


On 3/24/2017 2:44 PM, Quentin Colombet wrote:
> Of course! Like I said, I believe the patch you suggested looks good
> modulo keeping the MC getSize piece and renaming the TRI getSpillSize.

That will not work very well.  Register size, spill slot size, spill 
slot alignment and MVTs associated with a register class will all be 
dependent on subtarget flags.  Putting any of it in MC at this point is 
going to have a significant impact on the design, let alone all the work 
I have done so far.

-Krzysztof

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


More information about the llvm-commits mailing list