]> granicus.if.org Git - llvm/commit
Merging r322003:
authorHans Wennborg <hans@hanshq.net>
Wed, 17 Jan 2018 17:48:09 +0000 (17:48 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 17 Jan 2018 17:48:09 +0000 (17:48 +0000)
commit071c94c5100559babf54314cb94709be6eb250fd
tree82bc2a098284a723b549272b15c911d6963b575c
parenta8191faa103d89e0988b13e4dafdcac559acd356
Merging r322003:
------------------------------------------------------------------------
r322003 | niravd | 2018-01-08 08:21:35 -0800 (Mon, 08 Jan 2018) | 11 lines

[DAG] Teach BaseIndexOffset to correctly handle with indexed operations

BaseIndexOffset address analysis incorrectly ignores offsets folded
into indexed memory operations causing potential errors in alias
analysis of pre-indexed operations.

Reviewers: efriedma, RKSimon, hfinkel, jyknight

Subscribers: hiraditya, javed.absar, llvm-commits

Differential Revision: https://reviews.llvm.org/D41701
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@322693 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGAddressAnalysis.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp