[PATCH] D79322: [FEnv] Small fixes to implementation of flt.rounds
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 4 05:18:21 PDT 2020
sepavloff created this revision.
sepavloff added reviewers: andrew.w.kaylor, kpn, craig.topper, RKSimon, asb, hfinkel.
Herald added subscribers: cfe-commits, luismarques, apazos, sameer.abuasal, pzheng, jdoerfert, s.egerton, lenary, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, MaskRay, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya.
Herald added projects: clang, LLVM.
This change makes assorted correction related to the 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,
- The intrinsic now is lowered by default into function call rather than to a constant.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79322
Files:
clang/include/clang/Basic/Builtins.def
llvm/docs/LangRef.rst
llvm/include/llvm/IR/Intrinsics.td
llvm/include/llvm/IR/RuntimeLibcalls.def
llvm/lib/CodeGen/IntrinsicLowering.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/test/CodeGen/MSP430/flt_rounds.ll
llvm/test/CodeGen/RISCV/flt-rounds.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79322.261782.patch
Type: text/x-patch
Size: 6514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200504/03abd43e/attachment.bin>
More information about the llvm-commits
mailing list