[PATCH] D75237: [APFloat] Overload comparison operators
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 27 03:53:59 PST 2020
foad created this revision.
Herald added subscribers: llvm-commits, kerbowa, dexonsmith, hiraditya, nhaehnle, jvesely, arsenm.
Herald added a project: LLVM.
These implement the usual IEEE-style floating point comparison
semantics, e.g. +0.0 == -0.0 and all operators except != return false
if either argument is NaN.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75237
Files:
llvm/include/llvm/ADT/APFloat.h
llvm/lib/Analysis/ConstantFolding.cpp
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/IR/Metadata.cpp
llvm/lib/Support/APFloat.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/Scalar/Float2Int.cpp
llvm/lib/Transforms/Scalar/Reassociate.cpp
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/unittests/ADT/APFloatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75237.246906.patch
Type: text/x-patch
Size: 14838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200227/a45fa121/attachment.bin>
More information about the llvm-commits
mailing list