[llvm] [X86][NFC] - Add sitofp and fptosi tests for x87 mode (PR #136860)

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 25 06:17:14 PDT 2025


================
@@ -0,0 +1,423 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; NOTE: Fast Isel is not added because it does not support x87 stores.
+
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+x87,-sse,-sse2 -global-isel=0 | FileCheck %s --check-prefixes X64,SDAG-X64
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+x87,-sse,-sse2 -global-isel -global-isel-abort=2 | FileCheck %s --check-prefixes X64,GISEL-X64
----------------
e-kud wrote:

At this moment all cases hit the fallback to SDAG. In the next PR the support is going to be added, in this PR we change `2` to `1` illustrating which cases now are compiled completely by GlobalISel. Do you suggest to drop these lines as they in fact duplicate each other?

https://github.com/llvm/llvm-project/pull/136860


More information about the llvm-commits mailing list