diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-23 05:33:23 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-23 05:33:23 +0000 |
| commit | d96dc9020ab8a6df653bc8dd2195a19e11e0f4b7 (patch) | |
| tree | 127be2ea964f82958238762e8071248be965e7c8 /llvm/lib/Transforms/Utils/CloneModule.cpp | |
| parent | 0900993ebc6e260e089465f8072c19c24174c4f0 (diff) | |
| download | bcm5719-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

