diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-27 19:19:51 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-27 19:19:51 +0000 |
commit | c5096cbf7a42e0f9012945b00d9037a5b5a88d72 (patch) | |
tree | 84a9e447bd9b0917cdf7c57a07984d9c0b68bb76 /lib/Frontend/ASTUnit.cpp | |
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
Diffstat (limited to 'lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions