New PM pass that removes redundant identical instructions after register allocation and rematerialization.

Synopsis

Declared in <llvm/CodeGen/MachineLateInstrsCleanup.h>

class MachineLateInstrsCleanupPass
    : public OptionalPassInfoMixin<MachineLateInstrsCleanupPass>

Base Classes

Name

Description

OptionalPassInfoMixin<MachineLateInstrsCleanupPass>

A CRTP mix‐in for passes that can be skipped.

Member Functions

Name

Description

getRequiredProperties

Return the properties this pass requires of the machine function.

run

Remove redundant identical instructions in MachineFunction.

Static Member Functions

Name

Description

isRequired

Return false; optional passes may be skipped.

Created with MrDocs