[LLVMdev] Implementing llvm.atomic.cmp.swap.i32 on PowerPC

Dan Gohman gohman at apple.com
Tue Jul 8 16:27:19 PDT 2008


PPCTargetLowering::EmitInstrWithCustomInserter has a reference
to the current MachineFunction for other purposes. Can you use
MachineFunction::getRegInfo instead?

Dan

On Jul 8, 2008, at 1:56 PM, Gary Benson wrote:

> Would it be acceptable to change MachineInstr::getRegInfo from private
> to public so I can use it from  
> PPCTargetLowering::EmitInstrWithCustomInserter?
>
> Cheers,
> Gary
>



More information about the llvm-dev mailing list