aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-26 01:47:48 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-10-26 01:47:48 +0000
commite8261a22f1fd185df6be454bf31089a215e5f259 (patch)
tree38c03635c93b04d197f837a4c8c6181465994842 /llvm/lib/Object/ELFObjectFile.cpp
parent954a1f2d744bfa7438116a798f5d6b4762cee2e9 (diff)
downloadllvm-e8261a22f1fd185df6be454bf31089a215e5f259.zip
llvm-e8261a22f1fd185df6be454bf31089a215e5f259.tar.gz
llvm-e8261a22f1fd185df6be454bf31089a215e5f259.tar.bz2
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. llvm-svn: 143006
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions