[PATCH] D120842: [DSE] Cache liveOnEntry as clobbering access
    Philip Reames via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar  3 11:20:49 PST 2022
    
    
  
reames added a comment.
In D120842#3357155 <https://reviews.llvm.org/D120842#3357155>, @fhahn wrote:
> IIUC it's not possible to write a test for this easily, because the only use of the optimized access in DSE is `eliminateRedundantStoresOfExistingValues`, which is not applicable if the optimized accesses is liveOnEntry, right?
I came across this as a compile time improvement.  I could maybe test for the memory ssa printer pass after DSE, but that feels too fragile to be worthwhile.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120842/new/
https://reviews.llvm.org/D120842
    
    
More information about the llvm-commits
mailing list