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.
Paths
| Differential D86282
[Fixed Point] Use FixedPointBuilder to codegen fixed-point IR. ClosedPublic Authored by ebevhan on Aug 20 2020, 5:39 AM.
Details Summary This changes the methods in CGExprScalar to use Since FixedPointBuilder emits padded operations slightly
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 20 2020, 10:56 AM This revision was landed with ongoing or failed builds.Aug 24 2020, 5:38 AM Closed by commit rG808ac5464521: [Fixed Point] Use FixedPointBuilder to codegen fixed-point IR. (authored by ebevhan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 287352 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
|