Displaying 2 results from an estimated 2 matches for "neatprint".
Did you mean:
naprint
2006 Aug 14
2
[LLVMdev] Folding instructions
...const MRegisterInfo *ri = target_machine.getRegisterInfo();
MachineInstr * fmi = ri->foldMemoryOperand(mi, u, slot);
if(fmi) {
numFolded++;
MachineBasicBlock * mbb = mi->getParent();
this->vrm->virtFolded(v_reg, mi, u, fmi);
//std::cerr << "Folding " << NeatPrint::mi2string(*mi,
*this->machine_function) << "\n";
// TODO: see if it is not necessary to iterate
// again on the instruction.
return mbb->insert(mbb->erase(mi), fmi);
}
With this code, my register allocator passes many tests, but crashes in
some.
Curiously, if I u...
2006 Aug 14
0
[LLVMdev] Folding instructions
...et_machine.getRegisterInfo();
> MachineInstr * fmi = ri->foldMemoryOperand(mi, u, slot);
> if(fmi) {
> numFolded++;
> MachineBasicBlock * mbb = mi->getParent();
> this->vrm->virtFolded(v_reg, mi, u, fmi);
> //std::cerr << "Folding " << NeatPrint::mi2string(*mi,
> *this->machine_function) << "\n";
> // TODO: see if it is not necessary to iterate
> // again on the instruction.
> return mbb->insert(mbb->erase(mi), fmi);
> }
>
> With this code, my register allocator passes many tests, but...