summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2019-05-15 08:21:18 +0000
committerClement Courbet <courbet@google.com>2019-05-15 08:21:18 +0000
commitd9d0665d1c6b23412771fb2e6b2f00e383d7c892 (patch)
tree21eb810ba1b90081d08c244487de92e47adbc797
parent041f40e5daf35842f67ab40eaa1f29e99727b736 (diff)
downloadbcm5719-llvm-d9d0665d1c6b23412771fb2e6b2f00e383d7c892.tar.gz
bcm5719-llvm-d9d0665d1c6b23412771fb2e6b2f00e383d7c892.zip
[[DAGCombiner][NFC] Add a comment.
As suggested in D61846. llvm-svn: 360755
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 8fe6f721584..27da26446ee 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -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))
OpenPOWER on IntegriCloud