Fix a miscompilation in the addr mode code trying to implement X | C and
X + C to promote LEA formation.  We would incorrectly apply it in some cases
(test) and miss it in others.

This fixes CodeGen/X86/2007-02-04-OrAddrMode.ll

llvm-svn: 33884
1 file changed
tree: d41a7e29a05bd35b12c5ab29e1a845792f2ebd2e
  1. llvm/
  2. stacker/