diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-13 04:45:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-13 04:45:25 +0000 |
commit | 0f27fc34f7e6f12069527b209127424416d941f3 (patch) | |
tree | 9ef595baa317f0e113b59a4aec20843679e25c44 /lib/Transforms/Utils/CodeExtractor.cpp | |
parent | 94c8d3b5e5d29b4f813a4fcd93f5c0a865148512 (diff) |
Fix a regression in the 32-bit port from the 64-bit port landing.
We now compile CodeGen/X86/lea-2.ll into:
_test:
movl 4(%esp), %eax
movl 8(%esp), %ecx
leal -5(%ecx,%eax,4), %eax
ret
instead of:
_test:
movl 4(%esp), %eax
leal (,%eax,4), %eax
addl 8(%esp), %eax
addl $4294967291, %eax
ret
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CodeExtractor.cpp')
0 files changed, 0 insertions, 0 deletions