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 | b8f1c1657f1b63f92957c5b1c5a4e26e4945c34d (patch) | |
tree | 6bc837c298cdd4082a9d97631b702db984dd94ef /include/llvm/CodeGen/MachineBasicBlock.h | |
parent | f62cc9f9e5ddd95adcb0f7317ef4458bbdbebffd (diff) |
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).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineBasicBlock.h')
0 files changed, 0 insertions, 0 deletions