[PATCH] D48066: Add one more No-alias case to alias analysis.
    Nuno Lopes via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jun 12 05:57:24 PDT 2018
    
    
  
nlopes added inline comments.
================
Comment at: lib/Analysis/BasicAliasAnalysis.cpp:1884
+    unsigned BitWidth = V1Offset.getBitWidth();
+    if (checkFormOddNumSubOffset(V0, V1, BitWidth) ||
+        checkFormOddNumSubOffset(V1, V0, BitWidth)) {
----------------
BTW don't you need to limit this trick to 1 byte accesses?
https://reviews.llvm.org/D48066
    
    
More information about the llvm-commits
mailing list