commit | 6241226b097f1a71c25e2e30272aa508abaafc6d | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Feb 04 20:18:17 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Feb 04 20:18:17 2007 +0000 |
tree | ab23c5e65ff9c65a3d173fdfb6a8935660aaefa7 | |
parent | 2b5d75c35b8f62d67bd8029ea2ca2862b0757475 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33884 91177308-0d34-0410-b5e6-96231b3b80d8