diff options
author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2018-10-26 16:12:12 +0000 |
---|---|---|
committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2018-10-26 16:12:12 +0000 |
commit | b25340236c089b2ed8dd502c30e12d1500824404 (patch) | |
tree | ee37093d15efde1674b19fc146462268d3bed5ca /lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c | |
parent | 672ba25d8b3261699ce21a5b528a6c7265e48dd5 (diff) | |
download | bcm5719-llvm-b25340236c089b2ed8dd502c30e12d1500824404.tar.gz bcm5719-llvm-b25340236c089b2ed8dd502c30e12d1500824404.zip |
[Fixed Point Arithmetic] Refactor fixed point casts
Summary:
- Added names for some emitted values (such as "tobool" for
the result of a cast to boolean).
- Replaced explicit IRBuilder request for doing sext/zext/trunc
by using CreateIntCast instead.
- Simplify code for emitting satuation into one if-statement
for clamping to max, and one if-statement for clamping to min.
Reviewers: leonardchan, ebevhan
Reviewed By: leonardchan
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D53707
llvm-svn: 345398
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/main.c')
0 files changed, 0 insertions, 0 deletions