commit | c5096cbf7a42e0f9012945b00d9037a5b5a88d72 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Thu Oct 27 19:19:51 2011 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Thu Oct 27 19:19:51 2011 +0000 |
tree | 84a9e447bd9b0917cdf7c57a07984d9c0b68bb76 | |
parent | 9d31fa75bc05fe4cb903a7701550f22cfb73ea8b [diff] |
Annotate imprecise FP division with fpaccuracy metadata The OpenCL single precision division operation is only required to be accurate to 2.5ulp. Annotate the fdiv instruction with metadata which signals to the backend that an imprecise divide instruction may be used. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143136 91177308-0d34-0410-b5e6-96231b3b80d8