HomePhabricator

[Fixed Point Arithmetic] Fixed Point and Integer Conversions

Authored by leonardchan on Mar 5 2019, 4:28 PM.

Description

[Fixed Point Arithmetic] Fixed Point and Integer Conversions

This patch includes the necessary code for converting between a fixed point type and integer.
This also includes constant expression evaluation for conversions with these types.

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

llvm-svn: 355462