[llvm] SelectionDAG: Support FMINIMUMNUM and FMINIMUM in combineMinNumMaxNumImpl (PR #137449)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 04:10:19 PST 2026


================
@@ -0,0 +1,145 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple i686-unknown-linux -mattr=+sse2 < %s | FileCheck --check-prefixes=CHECK,SSE2 %s
+; RUN: llc -mtriple i686-unknown-linux -mattr=-sse2  < %s | FileCheck --check-prefixes=CHECK,SSE %s
+
+define float @maxf(float %a, float %b) {
+; SSE2-LABEL: maxf:
+; SSE2:       # %bb.0: # %entry
+; SSE2-NEXT:    pushl %eax
+; SSE2-NEXT:    .cfi_def_cfa_offset 8
----------------
arsenm wrote:

Add nounwind to remove the CFI 

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


More information about the llvm-commits mailing list