aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorRob Suderman <rob.suderman@gmail.com>2021-05-12 21:47:55 -0700
committerRob Suderman <rob.suderman@gmail.com>2021-05-12 21:53:53 -0700
commit3f8aafd7902722cc2039c7ef3d6747f8d49f81a6 (patch)
tree6d335b546959d4d165679705d35c90c36559b61e /clang/lib/CodeGen/CodeGenAction.cpp
parentf6907152db3d70606817ffe28274c6a90b331bbc (diff)
downloadllvm-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