aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
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
commitb8f1c1657f1b63f92957c5b1c5a4e26e4945c34d (patch)
tree6bc837c298cdd4082a9d97631b702db984dd94ef /include/llvm
parentf62cc9f9e5ddd95adcb0f7317ef4458bbdbebffd (diff)
downloadexternal_llvm-b8f1c1657f1b63f92957c5b1c5a4e26e4945c34d.tar.gz
external_llvm-b8f1c1657f1b63f92957c5b1c5a4e26e4945c34d.tar.bz2
external_llvm-b8f1c1657f1b63f92957c5b1c5a4e26e4945c34d.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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
0 files changed, 0 insertions, 0 deletions