Displaying 1 result from an estimated 1 matches for "regclass2allowedset".
2009 Jan 07
4
[LLVMdev] Possible bug in the ARM backend?
...nores the preferred allocation order, it is not a
bug and is quite legal.
BTW, I obtain the set of allocatable register using the following
code at the beginning of the runOnMachineFunction() of my register
allocator.
Is anything wrong with it?
mri = tm->getRegisterInfo();
// Prepare regClass2AllowedSet for each register class
// This should be done on a per function basis, because
// some registers may get included/excluded on a per
// function basic (e.g. frame pointer on X86)
regClass2AllowedSet.clear();
regClass2AllowedSet.resize(mri->getNumRegClasses() + 1);
for (TargetRegist...