[PATCH] D86632: [Fixed Point] Add codegen for conversion between fixed-point and floating point.

Bevin Hansson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 08:37:30 PDT 2020


ebevhan created this revision.
ebevhan added reviewers: leonardchan, rjmccall.
Herald added subscribers: llvm-commits, cfe-commits, bjope.
Herald added projects: clang, LLVM.
ebevhan requested review of this revision.

The patch adds the required methods to FixedPointBuilder
for converting between fixed-point and floating point,
and uses them from Clang.

This depends on D54749 <https://reviews.llvm.org/D54749>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86632

Files:
  clang/lib/CodeGen/CGExprScalar.cpp
  clang/test/Frontend/fixed_point_compound.c
  clang/test/Frontend/fixed_point_conversions.c
  llvm/include/llvm/IR/FixedPointBuilder.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86632.287993.patch
Type: text/x-patch
Size: 21180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200826/2558a757/attachment.bin>


More information about the llvm-commits mailing list