diff options
author | Rob Suderman <rob.suderman@gmail.com> | 2021-05-12 21:47:55 -0700 |
---|---|---|
committer | Rob Suderman <rob.suderman@gmail.com> | 2021-05-12 21:53:53 -0700 |
commit | 3f8aafd7902722cc2039c7ef3d6747f8d49f81a6 (patch) | |
tree | 6d335b546959d4d165679705d35c90c36559b61e /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | f6907152db3d70606817ffe28274c6a90b331bbc (diff) | |
download | llvm-3f8aafd7902722cc2039c7ef3d6747f8d49f81a6.zip llvm-3f8aafd7902722cc2039c7ef3d6747f8d49f81a6.tar.gz llvm-3f8aafd7902722cc2039c7ef3d6747f8d49f81a6.tar.bz2 |
[mlir][tosa] Fix tosa.cast semantics to perform rounding/clipping
Rounding to integers requires rounding (for floating points) and clipping
to the min/max values of the destination range. Added this behavior and
updated tests appropriately.
Reviewed By: sjarus, silvas
Differential Revision: https://reviews.llvm.org/D102375
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions