[all-commits] [llvm/llvm-project] e66118: InstCombine: Fold fdiv nnan x, 0 -> copysign(inf, x)

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Nov 7 22:00:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e661185fb3e5a94177404e474d6000f386594090
      https://github.com/llvm/llvm-project/commit/e661185fb3e5a94177404e474d6000f386594090
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-07 (Mon, 07 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/fdiv.ll

  Log Message:
  -----------
  InstCombine: Fold fdiv nnan x, 0 -> copysign(inf, x)

https://alive2.llvm.org/ce/z/gLBFKB




More information about the All-commits mailing list