[PATCH] D112312: [DSE] Add OR_None (not for commit)
    Nikita Popov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Oct 23 02:18:35 PDT 2021
    
    
  
nikic added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp:1012
+      if (AAR == AliasResult::NoAlias)
+        return OW_None;
       return OW_Unknown;
----------------
Maybe move this check to the start?
================
Comment at: llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp:1069
     // Can reach here only if accesses are known not to overlap. There is no
     // dedicated code to indicate no overlap so signal "unknown".
+    return OW_None;
----------------
Comment is outdated.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112312/new/
https://reviews.llvm.org/D112312
    
    
More information about the llvm-commits
mailing list