HomePhabricator

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

Authored by ebevhan on Mon, Jan 11, 1:46 PM.

Description

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

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.

Reviewed By: leonardchan

Differential Revision: https://reviews.llvm.org/D86632