ΒΆint biasPhysReg(const llvm::SUnit* SU, bool isTop)

Description

Minimize physical register live ranges. Regalloc wants them adjacent to their physreg def/use. FIXME: This is an unnecessary check on the critical path. Most are root/leaf copies which can be prescheduled. The rest (e.g. x86 MUL) could be bundled with the operation that produces or consumes the physreg. We'll do this when regalloc has support for parallel copies.

Declared at: llvm/include/llvm/CodeGen/MachineScheduler.h:950

Parameters

const llvm::SUnit* SU
bool isTop