[llvm] r360755 - [[DAGCombiner][NFC] Add a comment.
Clement Courbet via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 01:21:19 PDT 2019
Author: courbet
Date: Wed May 15 01:21:18 2019
New Revision: 360755
URL: http://llvm.org/viewvc/llvm-project?rev=360755&view=rev
Log:
[[DAGCombiner][NFC] Add a comment.
As suggested in D61846.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=360755&r1=360754&r2=360755&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Wed May 15 01:21:18 2019
@@ -19830,6 +19830,8 @@ bool DAGCombiner::isAlias(SDNode *Op0, S
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))
More information about the llvm-commits
mailing list