diff options
author | David Green <david.green@arm.com> | 2022-03-29 10:12:44 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2022-03-29 10:12:44 +0100 |
commit | 60f57b36587c99175cb380406e2502a592a0c400 (patch) | |
tree | 86082ec195de56012f2cbcb4ea75f0250c1a3837 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 3dbb5eb2cd7002c9bb7926477714ca99d7d9c659 (diff) | |
download | llvm-60f57b36587c99175cb380406e2502a592a0c400.zip llvm-60f57b36587c99175cb380406e2502a592a0c400.tar.gz llvm-60f57b36587c99175cb380406e2502a592a0c400.tar.bz2 |
[AArch64] Ensure fixed point fptoi_sat has correct saturation width
D113200 introduced an error where it was converting FP_TO_SI_SAT with
multiply to a fixed point floating point convert. The saturation
bitwidth needs to be equal to the floating point width, or else the
routine would truncate the result as opposed to saturating it.
Fixes #54601
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions