commit | d737fcafc4cedcbe798930d96203a9e22c1e6e68 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sat Jul 10 04:04:25 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sat Jul 10 04:04:25 2010 +0000 |
tree | 8f6e0dd9f0cbdf526238e90117dbe55f580ff229 | |
parent | 7a029b6d7e58cb0f1010f14d99d7661e387cfb54 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108037 91177308-0d34-0410-b5e6-96231b3b80d8