Fix PR4485.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 30 Jun 2009 16:40:03 +0000 (16:40 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 30 Jun 2009 16:40:03 +0000 (16:40 +0000)
commitaf5f6ba32d5f03aa1e0c1aeecd81c99fea842d4c
tree3149d583e63562f3abfb0054afa675c69de2bfca
parent697b3780ac2297477c1bd799c9978e5dc49148f1
Fix PR4485.

Avoid unnecessary duplication of operand 0 of X86::FpSET_ST0_80. This duplication would
cause one register to remain on the stack at the function return.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74534 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FloatingPoint.cpp
test/CodeGen/X86/inline-asm-fpstack4.ll
test/CodeGen/X86/inline-asm-fpstack5.ll [new file with mode: 0644]