Displaying 3 results from an estimated 3 matches for "valnum".
Did you mean:
alnum
2008 May 28
3
[LLVMdev] Possible VirtRegMap Bug
...d (%reg1631) gets mark as rematerializable by
LiveIntervals:
00984 if (CreatedNewVReg) {
00985 if (DefIsReMat) {
00986 vrm.setVirtIsReMaterialized(NewVReg, ReMatDefMI/*, CanDelete*/);
00987 if (ReMatIds[VNI->id] == VirtRegMap::MAX_STACK_SLOT) {
00988 // Each valnum may have its own remat id.
00989 ReMatIds[VNI->id] = vrm.assignVirtReMatId(NewVReg);
Linear scan dutifully assigns %reg1631 to AL. Then SimpleSpiller runs and
does this:
00261 unsigned VirtReg = MO.getReg();
00262 unsigned PhysReg = VRM.getPhys(VirtReg);
002...
2004 Aug 27
2
[LLVMdev] Register allocator assert
...when the function is called from LiveIntervalAnalysis.cpp,
360:
for (unsigned i = 0, e = vi.Kills.size(); i != e; ++i) {
MachineInstr *Kill = vi.Kills[i];
LiveRange LR(getInstructionIndex(Kill->getParent()->begin()),
getUseIndex(getInstructionIndex(Kill))+1, ValNum);
interval.addRange(LR);
DEBUG(std::cerr << " +" << LR);
When I add
assert(mi2iMap_.count(Kill));
in that block, it fires. I have modified the LiveVariables class so that in
the end of runOnFunction method, it prints all the instructions which are in
Kil...
2008 May 30
0
[LLVMdev] Possible VirtRegMap Bug
...le by
> LiveIntervals:
>
> 00984 if (CreatedNewVReg) {
> 00985 if (DefIsReMat) {
> 00986 vrm.setVirtIsReMaterialized(NewVReg, ReMatDefMI/*,
> CanDelete*/);
> 00987 if (ReMatIds[VNI->id] == VirtRegMap::MAX_STACK_SLOT) {
> 00988 // Each valnum may have its own remat id.
> 00989 ReMatIds[VNI->id] = vrm.assignVirtReMatId(NewVReg);
>
> Linear scan dutifully assigns %reg1631 to AL. Then SimpleSpiller
> runs and
> does this:
>
> 00261 unsigned VirtReg = MO.getReg();
> 00262 unsig...