[PATCH] D136201: [InstCombine] Handle PHI nodes when eliminating constant memcpy
    Anshil Gandhi via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Nov 11 12:35:47 PST 2022
    
    
  
gandhi21299 marked 2 inline comments as done.
gandhi21299 added a comment.
@nikic Great catch! The `memcpy` needs to be preserved in this case. I suppose `isOnlyCopiedFromConstantMemory(..)` should return false when this case is hit.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136201/new/
https://reviews.llvm.org/D136201
    
    
More information about the llvm-commits
mailing list