HomePhabricator

Reland [MachineCopyPropagation] Extend MCP to do trivial copy backward…

Authored by lkail on Dec 4 2019, 10:01 PM.

Description

Reland [MachineCopyPropagation] Extend MCP to do trivial copy backward propagation.

Fix assertion error

bool llvm::MachineOperand::isRenamable() const: Assertion `Register::isPhysicalRegister(getReg()) && "isRenamable should only be checked on physical registers"' failed.

by checking if the register is 0 before invoking isRenamable.

Details

Committed
lkailDec 4 2019, 10:32 PM
Parents
rG93cc9dddd82f: Revert "Properly convert all declaration non-type template arguments when"
Branches
Unknown
Tags
Unknown