commit | 384152444d22d356f7b4090a158da4cbc1f79464 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Jul 16 15:26:22 2007 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Jul 16 15:26:22 2007 +0000 |
tree | 34177034eb827fd34fddfd428e6577d804858937 | |
parent | d6257fe581585f5061d1c672d2110c0cd26aa257 [diff] |
Use ConstantFoldFP for folding all unary floating-point operations which may have an error, and refector out the code for binary operators into ConstantFoldBinaryFP and use it for all binary floating-point operations which may have an error. These functions still rely exclusively on errno to detect errors though. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39923 91177308-0d34-0410-b5e6-96231b3b80d8