[llvm] [X86][GlobalIsel] Add test for IS_FP_CLASS (PR #148816)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 24 09:02:11 PDT 2025
================
@@ -0,0 +1,526 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=i686-linux | FileCheck %s -check-prefixes=X86-SDAGISEL
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefixes=X64,X64-SDAGISEL
+; RUN: llc < %s -mtriple=i686-linux -fast-isel -fast-isel-abort=1 | FileCheck %s -check-prefixes=X86-FASTISEL
+; RUN: llc < %s -mtriple=x86_64-linux -fast-isel -fast-isel-abort=1 | FileCheck %s -check-prefixes=X64,X64-FASTISEL
+
+; FIXME: We can reuse/delete llvm/test/CodeGen/X86/is_fpclass.ll when all patches are included.
+
+define i1 @is_fcNone_f32(float %x) nounwind {
----------------
mahesh-attarde wrote:
These tests are copied from same file since not all tests are supported from is_fpclass.ll in gisel yet. We will replace one of test, mentioned in FIXME.
https://github.com/llvm/llvm-project/pull/148816
More information about the llvm-commits
mailing list