[llvm] [X86] Fix expand-fp on optnone functions (PR #156900)

Frederik Harwath via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 01:10:17 PDT 2025


================
@@ -0,0 +1,98 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -mtriple=x86_64-- --expand-fp < %s | FileCheck %s
----------------
frederik-h wrote:

> Could also just exclusively use the new PM run line

With the new PM, the `sitofp` does not get expanded even without the changes of #130988. I assume this is expected with the `optnone` attribute, but I am not really sure. Should this become the test's expectation for the new PM run?

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


More information about the llvm-commits mailing list