When we know for sure whether two addresses do or do not alias, we
should immediately return from DAGCombiner::isAlias().
I think this comes from a bad copy/paste, Sorry for not catching that during the
code review.
Fixes PR41855.
Paths
| Differential D61846
[DAGCombiner] Fix invalid alias analysis. ClosedPublic Authored by courbet on May 13 2019, 1:08 AM.
Details
Summary When we know for sure whether two addresses do or do not alias, we I think this comes from a bad copy/paste, Sorry for not catching that during the Fixes PR41855.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 13 2019, 2:00 AM Closed by commit rL360566: [DAGCombiner] Fix invalid alias analysis. (authored by courbet). · Explain WhyMay 13 2019, 2:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 199223 llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/trunk/test/CodeGen/X86/lifetime-alias.ll
|
Can you comment this? Given it's already caused a problem and isn't obvious what's going on necessarily.