[PATCH] D152351: [clang] Add __builtin_isfpclass
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 12:05:25 PDT 2023
arsenm added inline comments.
================
Comment at: clang/test/CodeGen/isfpclass.c:2
+// RUN: %clang_cc1 -triple x86_64-linux-gnu -S -O1 -emit-llvm %s -o - | FileCheck %s
+
+_Bool check_isfpclass_finite(float x) {
----------------
sepavloff wrote:
> arsenm wrote:
> > Can you also add a half test, also vectors
> Half is added. But vectors cannot, because in this case result is also a vector.
Could copy what __builtin_elementwise does. Should that be in this builtin, or should there be a separate __builtin_elementwise_isfpclass?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152351/new/
https://reviews.llvm.org/D152351
More information about the llvm-commits
mailing list