[PATCH] D157564: [MCP] Invalidate copy for super register in copy source

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 19:50:21 PDT 2023


lkail added a comment.

> We only insert the MI corresponding to the copies for tracking the defs

I see. I think the semantic of `Copy[Unit].MI` is the COPY defines `Unit`, forward propagation should be relying on this semantic.

Instead, Can `Copy[Unit].LastSeenUseInCopy`, which has the semantic of the most recent COPY uses the `Unit`, help this case?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157564/new/

https://reviews.llvm.org/D157564



More information about the llvm-commits mailing list