[llvm] [Win][X86]Fix issue where _fltused reference is incorrectly issued for vector floating point operations (PR #146792)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 3 02:32:36 PDT 2025


================
@@ -0,0 +1,32 @@
+; The purpose of this test to verify that the fltused symbol is
+; not emitted when purely vector floating point operations are used on Windows.
+
+; RUN: llc < %s -mtriple i686-pc-win32 | FileCheck %s --check-prefix WIN32
+; RUN: llc < %s -mtriple x86_64-pc-win32 | FileCheck %s --check-prefix WIN64
+; RUN: llc < %s -O0 -mtriple i686-pc-win32 | FileCheck %s --check-prefix WIN32
+; RUN: llc < %s -O0 -mtriple x86_64-pc-win32 | FileCheck %s --check-prefix WIN64
----------------
phoebewang wrote:

No need to test O0

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


More information about the llvm-commits mailing list