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 | d737fcafc4cedcbe798930d96203a9e22c1e6e68 (patch) | |
tree | 8f6e0dd9f0cbdf526238e90117dbe55f580ff229 /test | |
parent | 7a029b6d7e58cb0f1010f14d99d7661e387cfb54 (diff) | |
download | external_llvm-d737fcafc4cedcbe798930d96203a9e22c1e6e68.zip external_llvm-d737fcafc4cedcbe798930d96203a9e22c1e6e68.tar.gz external_llvm-d737fcafc4cedcbe798930d96203a9e22c1e6e68.tar.bz2 |
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
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions