aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/filesystem/operations.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2021-02-12 02:57:26 +0100
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2021-02-18 12:36:46 -0600
commite57bd1ff4fb65208cb3060b62e1c48aa0aac623f (patch)
tree4b2aac52d3c09b5aa0a8c702d0ea88128ca710ac /libcxx/src/filesystem/operations.cpp
parentbb260b1ca7d51869e140212aa543f53dfcf01a1b (diff)
downloadllvm-e57bd1ff4fb65208cb3060b62e1c48aa0aac623f.zip
llvm-e57bd1ff4fb65208cb3060b62e1c48aa0aac623f.tar.gz
llvm-e57bd1ff4fb65208cb3060b62e1c48aa0aac623f.tar.bz2
[CFE, SystemZ] New target hook testFPKind() for checks of FP values.
The recent commit 00a6254 "Stop traping on sNaN in builtin_isnan" changed the lowering in constrained FP mode of builtin_isnan from an FP comparison to integer operations to avoid trapping. SystemZ has a special instruction "Test Data Class" which is the preferred way to do this check. This patch adds a new target hook "testFPKind()" that lets SystemZ emit the s390_tdc intrinsic instead. testFPKind() takes the BuiltinID as an argument and is expected to soon handle more opcodes than just 'builtin_isnan'. Review: Thomas Preud'homme, Ulrich Weigand Differential Revision: https://reviews.llvm.org/D96568
Diffstat (limited to 'libcxx/src/filesystem/operations.cpp')
0 files changed, 0 insertions, 0 deletions