[all-commits] [llvm/llvm-project] 822363: [AMDGPU] Fix miscompile in performSelectCombine fo...

Arseniy Obolenskiy via All-commits all-commits at lists.llvm.org
Thu Jul 30 09:51:28 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8223635500c61d10820c011371498b96cd4ffbc7
      https://github.com/llvm/llvm-project/commit/8223635500c61d10820c011371498b96cd4ffbc7
  Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/select-cmp-shared-constant-fp.ll

  Log Message:
  -----------
  [AMDGPU] Fix miscompile in performSelectCombine for fcmp one with NaN (#213029)

The fold `select (fcmp one x, K), y, K -> ..., x` returned x instead of
K when x was NaN, changing the 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