[LLVMdev] Delay Slot Filler

Filip Kocina xkocin00 at stud.fit.vutbr.cz
Mon Apr 19 00:27:31 PDT 2010

>> You have to create one! Take a look at PPCHazardRecognizers.cpp
>> and SPUHazardRecognizers.cpp for examples.
>> If you can, contribute it back! :)
> There is also generic hazard recognizer which works on top of
> instruction itineraries.

Thanks for both answers. I created one meanwhile, that recognizes
dependencies between two instructions based on MachineInstr::getOperand,
TargetInstrDesc::getImplicitUses and TargetInstrDesc::getImplicitDefs.
It works pretty fine. I will contribute it back as soon as I can (at
first, I have to ask my bachelor's thesis leader).

Filip Kocina, student FIT
Email: xkocin00 at stud.fit.vutbr.cz

More information about the llvm-dev mailing list