[[DAGCombiner][NFC] Add a comment.
authorClement Courbet <courbet@google.com>
Wed, 15 May 2019 08:21:18 +0000 (08:21 +0000)
committerClement Courbet <courbet@google.com>
Wed, 15 May 2019 08:21:18 +0000 (08:21 +0000)
As suggested in D61846.

llvm-svn: 360755

llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

index 8fe6f72..27da264 100644 (file)
@@ -19830,6 +19830,8 @@ bool DAGCombiner::isAlias(SDNode *Op0, SDNode *Op1) const {
       return false;
   }
 
+  // Try to prove that there is aliasing, or that there is no aliasing. Either
+  // way, we can return now. If nothing can be proved, proceed with more tests.
   bool IsAlias;
   if (BaseIndexOffset::computeAliasing(Op0, MUC0.NumBytes, Op1, MUC1.NumBytes,
                                        DAG, IsAlias))