[Fixed Point] Add codegen for fixed-point shifts.
authorBevin Hansson <bevin.hansson@ericsson.com>
Fri, 21 Aug 2020 08:26:52 +0000 (10:26 +0200)
committerBevin Hansson <bevin.hansson@ericsson.com>
Mon, 24 Aug 2020 12:37:16 +0000 (14:37 +0200)
commit577f8b157a03055821341146ed0617e3b103fdaf
treeccebe2ce1254bd7a060719078804d559c4308f58
parent808ac54645212ddc9aba150cdc97454e36fb9521
[Fixed Point] Add codegen for fixed-point shifts.

This patch adds codegen to Clang for fixed-point shift
operations.

Reviewed By: leonardchan

Differential Revision: https://reviews.llvm.org/D83294
clang/lib/CodeGen/CGExprScalar.cpp
clang/test/Frontend/fixed_point_compound.c
clang/test/Frontend/fixed_point_shift.c
clang/test/Frontend/fixed_point_shift_const.c [new file with mode: 0644]