[all-commits] [llvm/llvm-project] 6e19ee: [X86] Improve handling on zero constant for fminim...

serguei-katkov via All-commits all-commits at lists.llvm.org
Sun May 14 05:29:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e19eea02bbe7747cfca1f2a13287b9987ab959a
      https://github.com/llvm/llvm-project/commit/6e19eea02bbe7747cfca1f2a13287b9987ab959a
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2023-05-14 (Sun, 14 May 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/fminimum-fmaximum.ll

  Log Message:
  -----------
  [X86] Improve handling on zero constant for fminimum/fmaximum lowering

If we know that zero constant operand is already in the right place we do not need
to re-order anything.

Reviewed By: e-kud
Differential Revision: https://reviews.llvm.org/D150249




More information about the All-commits mailing list