[LLVMdev] Register Allocation
Evan Cheng
evan.cheng at apple.com
Sat Aug 15 18:56:36 PDT 2009
On Aug 13, 2009, at 7:28 AM, Christian Scheuer wrote:
> Hi,
>
> I'm currently working on a register allocation problem. Therefore, I
> want to reduce the number of available registers of the ARM by a large
> amount to see the impact on the assembly code. I tried to change the
> number via the ARMRegisterInfo.td by stripping the registerClasses
> (like
> it is described in the Code generator docs), but the resulting code is
> unchanged.
If you removed the registers from the GPR register files that will
ensure those registers are not used. Are you sure you have rebuilt llc
and you are testing it right? Perhaps your test doesn't need many
registers?
Evan
> Is there an easy alternative using the registerscavening.cpp
> directly or
> did I miss out something?
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list