[all-commits] [llvm/llvm-project] c58803: InstCombine: Reorder exp's known-nan source handli...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jan 5 07:45:09 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c58803562a8bc4825f80f5dea6a9eb68cfe3c00f
      https://github.com/llvm/llvm-project/commit/c58803562a8bc4825f80f5dea6a9eb68cfe3c00f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-01-05 (Mon, 05 Jan 2026)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-exp.ll

  Log Message:
  -----------
  InstCombine: Reorder exp's known-nan source handling (#174417)

In SimplifyDemandedFPClass, reorder the known-nan source
handling above The known-zero-or-nan handling. The more
specific cases need to be handled first. Avoids spurious
diff in an upcoming patch for fadd support; this would introduce
a simplifiable fadd when we can just go directly to the end
result.



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