Skip to content
Unverified Commit 24633eac authored by weiguozhi's avatar weiguozhi Committed by GitHub
Browse files

[Peephole] Check instructions from CopyMIs are still COPY (#69511)

Function foldRedundantCopy records COPY instructions in CopyMIs and uses
it later. But other optimizations may delete or modify it. So before
using it we should check if the extracted instruction is existing and
still a COPY instruction.
parent 17baba9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment