[FPEnv] Small fixes to implementation of flt.rounds
authorSerge Pavlov <sepavloff@gmail.com>
Tue, 26 May 2020 06:19:01 +0000 (13:19 +0700)
committerSerge Pavlov <sepavloff@gmail.com>
Tue, 26 May 2020 06:19:01 +0000 (13:19 +0700)
commit61f72dd8ace7c4bea1ae74d9734d2b02946b4898
tree86a9415fc854f483324ff8ecdd49db9bcf272a71
parente6e89875b04ea521a9dbf3e6a82d81b23f9f77d7
[FPEnv] Small fixes to implementation of flt.rounds

This change makes minor correction to the implementation of intrinsic
`llvm.flt.rounds`:
- Added documentation entry in LangRef,
- Attributes of the intrinsic changed to be in line with other functions
  dependent of floating-point environment.

Differential Revision: https://reviews.llvm.org/D79322
clang/include/clang/Basic/Builtins.def
llvm/docs/LangRef.rst
llvm/include/llvm/IR/Intrinsics.td