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 199221 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/lifetime-alias.ll
|
Note how the string size for "FunnyItWorkedLastTime" was incorrectly set to 15 before, and is now correctly set to 21.