[PATCH] D86282: [Fixed Point] Use FixedPointBuilder to codegen fixed-point IR.

Bevin Hansson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 20 05:39:33 PDT 2020


ebevhan created this revision.
ebevhan added reviewers: leonardchan, rjmccall.
Herald added a subscriber: bjope.
Herald added a project: clang.
ebevhan requested review of this revision.

This changes the methods in CGExprScalar to use
FixedPointBuilder to generate IR for fixed-point
conversions and operations.

Since FixedPointBuilder emits padded operations slightly
differently than the original code, some tests change.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86282

Files:
  clang/lib/CodeGen/CGExprScalar.cpp
  clang/test/Frontend/fixed_point_add.c
  clang/test/Frontend/fixed_point_div.c
  clang/test/Frontend/fixed_point_mul.c
  clang/test/Frontend/fixed_point_sub.c
  clang/test/Frontend/fixed_point_unary.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86282.286792.patch
Type: text/x-patch
Size: 34336 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200820/8b376524/attachment-0001.bin>


More information about the cfe-commits mailing list