[all-commits] [llvm/llvm-project] 03a97c: InstCombine: Reorder exp's known-nan source handling

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


  Branch: refs/heads/users/arsenm/instcombine/reorder-simplify-demanded-fpclass-exp-nan-case
  Home:   https://github.com/llvm/llvm-project
  Commit: 03a97c38c994e808352b6b23ed9d5d5c78036cff
      https://github.com/llvm/llvm-project/commit/03a97c38c994e808352b6b23ed9d5d5c78036cff
  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

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