[all-commits] [llvm/llvm-project] 9a354f: [SelectionDAG] Use `KnownBits` to determine if an ...

zGoldthorpe via All-commits all-commits at lists.llvm.org
Wed Apr 1 21:47:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a354fc5a16cb68ac61c1963d1d12123aa5a6dbf
      https://github.com/llvm/llvm-project/commit/9a354fc5a16cb68ac61c1963d1d12123aa5a6dbf
  Author: zGoldthorpe <Zach.Goldthorpe at amd.com>
  Date:   2026-04-01 (Wed, 01 Apr 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/AMDGPU/fneg-modifier-casting.ll
    M llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp

  Log Message:
  -----------
  [SelectionDAG] Use `KnownBits` to determine if an operand may be NaN. (#188606)

Given a bitcast into a fp type, use the known bits of the operand to
infer whether the resulting value can never be NaN.



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