diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-26 04:25:53 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-26 04:25:53 +0000 |
commit | ae66c2a154dbdd011e2382e16137493dfb61aa3b (patch) | |
tree | d5d05f35b669c74b28f75ad6ce92a0b91a130382 /lib/CodeGen/RenderMachineFunction.cpp | |
parent | f3e053947ca056d9d1971e3f24f371792b89b58c (diff) |
Merging r143006:
------------------------------------------------------------------------
r143006 | stoklund | 2011-10-25 18:47:48 -0700 (Tue, 25 Oct 2011) | 8 lines
Don't use floating point to do an integer's job.
This code makes different decisions when compiled into x87 instructions
because of different rounding behavior. That caused phase 2/3
miscompares on 32-bit Linux when the phase 1 compiler was built with gcc
(using x87), and the phase 2 compiler was built with clang (using SSE).
This fixes PR11200.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_30@143013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RenderMachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions