[PATCH] D112932: [WIP] Use llvm.is_fpclass to implement FP classification functions

2022-12-11 Thread Serge Pavlov via Phabricator via cfe-commits
sepavloff updated this revision to Diff 481901. sepavloff added a comment. Herald added a subscriber: pengfei. Prepare the patch for review In this patch the callback `TargetCodeGenInfo::testFPKind` is preserved, to make this change safer. Repository: rG LLVM Github Monorepo CHANGES SINCE LA

[PATCH] D112932: [WIP] Use llvm.is_fpclass to implement FP classification functions

2022-12-08 Thread Qiu Chaofan via Phabricator via cfe-commits
qiucf added a comment. Herald added a project: All. This patch looks good and `llvm.is.fpclass` will by default be expanded (except SystemZ which has their own lowering). Is there any blocker for this? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D

[PATCH] D112932: [WIP] Use llvm.is_fpclass to implement FP classification functions

2022-02-21 Thread Serge Pavlov via Phabricator via cfe-commits
sepavloff updated this revision to Diff 410303. sepavloff added a comment. Updated patch because the base revision is updated Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D112932/new/ https://reviews.llvm.org/D112932 Files: clang/include/clang/B

[PATCH] D112932: [WIP] Use llvm.is_fpclass to implement FP classification functions

2021-11-01 Thread Serge Pavlov via Phabricator via cfe-commits
sepavloff created this revision. sepavloff requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Builtin floating-point number classification functions: - __builtin_isnan, - __builtin_isinf, - __builtin_finite, and - __builtin_isnormal now are