[all-commits] [llvm/llvm-project] de415f: [InstCombine][FP] Fix nnan preservation for transf...

Rajat Bajpai via All-commits all-commits at lists.llvm.org
Mon Dec 2 22:01:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de415fbb450d0e15c535f0ccc135e2368a15bf6f
      https://github.com/llvm/llvm-project/commit/de415fbb450d0e15c535f0ccc135e2368a15bf6f
  Author: Rajat Bajpai <rbajpai at nvidia.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll
    M llvm/test/Transforms/InstCombine/fcmp-select.ll
    M llvm/test/Transforms/InstCombine/fneg.ll
    M llvm/test/Transforms/InstCombine/minmax-fp.ll
    M llvm/test/Transforms/InstCombine/unordered-fcmp-select.ll

  Log Message:
  -----------
  [InstCombine][FP] Fix nnan preservation for transform fcmp + sel => fmax/fmin (#117977)

Preserve `nnan` constraint only if present on both `fcmp` and `select`.

Alive2: https://alive2.llvm.org/ce/z/ZNDjzt



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