New PM pass that sinks copy instructions after register allocation.
Declared in <llvm/CodeGen/PostRAMachineSink.h>
class PostRAMachineSinkingPass
: public OptionalPassInfoMixin<PostRAMachineSinkingPass>
Moves copies that are unused in their defining block closer to their uses in successor blocks, which can expose shrink-wrapping opportunities.
| Name | Description |
|---|---|
OptionalPassInfoMixin<PostRAMachineSinkingPass> | A CRTP mix-in for passes that can be skipped. |
| Name | Description |
|---|---|
getRequiredProperties | Return the properties this pass requires of the machine function. |
run | Sink unused copy instructions in MF closer to their uses. |
| Name | Description |
|---|---|
isRequired | Return false; optional passes may be skipped. |