aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2022-01-26 08:37:44 +0000
committerDavid Green <david.green@arm.com>2022-01-26 08:37:44 +0000
commit57356d6bb72adb1e85eb8b9ac5d9321b84e22fe6 (patch)
treeb1a77638d54d772e336ace96265b360cffb98bc2 /llvm/lib/Support/CommandLine.cpp
parenta5cc8f6d5e49c957a3d37670beea733941b003f9 (diff)
downloadllvm-57356d6bb72adb1e85eb8b9ac5d9321b84e22fe6.zip
llvm-57356d6bb72adb1e85eb8b9ac5d9321b84e22fe6.tar.gz
llvm-57356d6bb72adb1e85eb8b9ac5d9321b84e22fe6.tar.bz2
[DAG] Create fptoui.sat from clamped fptoui
This is the unsigned variant of D111976, where we convert a clamped fptoui to a fptoui.sat. Because we are unsigned, the condition this time is only UMIN of UINT_MAX. Similarly to D111976 it handles ISD::UMIN, ISD::SETCC/ISD::SELECT, ISD::VSELECT or ISD::SELECT_CC nodes. This especially helps on ARM/AArch64 where the vcvt instructions naturally saturate the result. Differential Revision: https://reviews.llvm.org/D114964
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions