diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-10 04:04:25 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-10 04:04:25 +0000 |
commit | be8d9b0bb802a7b86cc9464816c0cfbacf35440c (patch) | |
tree | b610f184112226645426e9998aa0b5e257f5fba5 /llvm/lib/CodeGen | |
parent | a56c800607c6e4f59cb2722c736eedf6e0eccd0d (diff) | |
download | bcm5719-llvm-be8d9b0bb802a7b86cc9464816c0cfbacf35440c.tar.gz bcm5719-llvm-be8d9b0bb802a7b86cc9464816c0cfbacf35440c.zip |
An x86 function returns a floating point value in st(0), and we must make sure
it is popped, even if it is ununsed. A CopyFromReg node is too weak to represent
the required sideeffect, so insert an FpGET_ST0 instruction directly instead.
This will matter when CopyFromReg gets lowered to a generic COPY instruction.
llvm-svn: 108037
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions