Rely on the code in MatchAddress to do this work. Otherwise we fail to
authorChris Lattner <sabre@nondot.org>
Tue, 18 Jan 2005 02:25:52 +0000 (02:25 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 18 Jan 2005 02:25:52 +0000 (02:25 +0000)
commit883c86f51047c442ab0542dfa553040907ce4d50
treef7ec8cc267206b8923e736ee271d5ae82d4f83ed
parent6e4e7652d8c671d83b6332d0189e93f2920c04ff
Rely on the code in MatchAddress to do this work.  Otherwise we fail to
match (X+Y)+(Z << 1), because we match the X+Y first, consuming the index
register, then there is no place to put the Z.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19652 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp