ΒΆbool fuseInstructionPair(
llvm::ScheduleDAGInstrs& DAG,
llvm::SUnit& FirstSU,
llvm::SUnit& SecondSU)
bool fuseInstructionPair(
llvm::ScheduleDAGInstrs& DAG,
llvm::SUnit& FirstSU,
llvm::SUnit& SecondSU)
Description
Create an artificial edge between FirstSU and SecondSU. Make data dependencies from the FirstSU also dependent on the SecondSU to prevent them from being scheduled between the FirstSU and the SecondSU and vice-versa. Fusing more than 2 instructions is not currently supported.
Declared at: llvm/include/llvm/CodeGen/MacroFusion.h:46
Parameters
- llvm::ScheduleDAGInstrs& DAG
- llvm::SUnit& FirstSU
- llvm::SUnit& SecondSU