[llvm] [DAGCombiner] Extend fp->int->fp optimizations to include clamping (PR #164502)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 13 02:27:54 PST 2025


================
@@ -0,0 +1,140 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=aarch64 < %s | FileCheck %s
+; RUN: llc -mtriple=aarch64 --enable-no-signed-zeros-fp-math < %s | FileCheck %s --check-prefix=NO-SIGNED-ZEROS
----------------
arsenm wrote:

I guess this is the case that needs new fast math flags on the conversions. 

Can you add a common check prefix so the negative cases are more obvious 

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


More information about the llvm-commits mailing list