OSDN Git Service

[DAG] Remove Node csonstruction from BaseIndexOffset match. NFCI.
authorNirav Dave <niravd@google.com>
Wed, 21 Jun 2017 15:07:30 +0000 (15:07 +0000)
committerNirav Dave <niravd@google.com>
Wed, 21 Jun 2017 15:07:30 +0000 (15:07 +0000)
commit24058c71a93459e9ed3c5b86d95ddf4e85e33471
treedd793d0b82d3eec0de337e1cd27ba3ad04b9f48f
parenta110a35ffd0d2d2713f58281bd91d327fdcbd3c1
[DAG] Remove Node csonstruction from BaseIndexOffset match. NFCI.

Move GlobalAddress Offset decomposition from initial match into
comparision check and removing the possibility of constructing a new
offseted global address when examining addresses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305917 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp