HomePhabricator

[MIR-Canon] Hardening propagateLocalCopies.

Authored by plotfi on May 30 2019, 9:49 PM.

Description

[MIR-Canon] Hardening propagateLocalCopies.

This is am almost NFC, it does the following:

  • If there is no register class for a COPY's src or dst, bail.
  • Fixes uses iterator invalidation bug.

Differential Revision: https://reviews.llvm.org/D62713

llvm-svn: 362191

Details