Fix a bug in X86InstrInfo::convertToThreeAddress that caused it to codegen:
authorEvan Cheng <evan.cheng@apple.com>
Thu, 6 Sep 2007 00:14:41 +0000 (00:14 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 6 Sep 2007 00:14:41 +0000 (00:14 +0000)
commit61d9c861fd6fabfc94421801d3ada9ef648467b7
tree30505ae65346cafcbb8c043412bc2b7c6cf14c77
parent399ea50dc3321b4cc16e0a5ea7c41495c55a01ba
Fix a bug in X86InstrInfo::convertToThreeAddress that caused it to codegen:
leal    (,%rcx,8), %rcx
It should be
leal    (,%rcx,8), %ecx

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41735 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/2007-09-05-InvalidAsm.ll [new file with mode: 0644]