[all-commits] [llvm/llvm-project] aef0bd: DAG: Preserve flags when expanding fminimum/fmaxim...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed May 29 03:26:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aef0bdd36d888edd1575713e4976162daf81ff5b
      https://github.com/llvm/llvm-project/commit/aef0bdd36d888edd1575713e4976162daf81ff5b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

  Log Message:
  -----------
  DAG: Preserve flags when expanding fminimum/fmaximum (#93550)

The operation selection logic here doesn't really work when vector types
need to be split. This was also dropping the flags, and losing nnan made
the combine from select back to fmin/fmax unrecoverable. Preserve the
flags to assist a future commit.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list