summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-23 05:33:23 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-23 05:33:23 +0000
commitd96dc9020ab8a6df653bc8dd2195a19e11e0f4b7 (patch)
tree127be2ea964f82958238762e8071248be965e7c8 /llvm/lib/Transforms/Utils/CloneModule.cpp
parent0900993ebc6e260e089465f8072c19c24174c4f0 (diff)
downloadbcm5719-llvm-d96dc9020ab8a6df653bc8dd2195a19e11e0f4b7.tar.gz
bcm5719-llvm-d96dc9020ab8a6df653bc8dd2195a19e11e0f4b7.zip
Fix constant fold of div by zero and rem by zero to match IEEE 754
requirements. We must return NaN in some cases and correctly signed infinity in other cases. Passes CFP2006 (not that that says much). llvm-svn: 35277
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud