HomePhabricator

[DAGCombiner] Fix invalid alias analysis.

Authored by courbet on May 13 2019, 2:07 AM.

Description

[DAGCombiner] Fix invalid alias analysis.

Summary:
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.

Reviewers: niravd, gchatelet, EricWF

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D61846

llvm-svn: 360566

Details

Committed
courbetMay 13 2019, 2:07 AM
Differential Revision
D61846: [DAGCombiner] Fix invalid alias analysis.
Parents
rG381ba9aedc93: [DWARF] Use sequential integers for the IDs of the SymbolFileDWOs
Branches
Unknown
Tags
Unknown