[all-commits] [llvm/llvm-project] e09115: InstCombine: Try to turn is.fpclass sign checks to...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue May 16 12:43:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e09115bcfdeb295c943773abfa2b29ff4e2dba11
      https://github.com/llvm/llvm-project/commit/e09115bcfdeb295c943773abfa2b29ff4e2dba11
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/is_fpclass.ll

  Log Message:
  -----------
  InstCombine: Try to turn is.fpclass sign checks to fcmp with 0

Try to use gt/lt compares with 0 instead of class.


  Commit: 86d0b524f36302cac3f0cdf5c617052e9fad7026
      https://github.com/llvm/llvm-project/commit/86d0b524f36302cac3f0cdf5c617052e9fad7026
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp

  Log Message:
  -----------
  ValueTracking: Expand signature of isKnownNeverInfinity/NaN

This is in preparation for replacing the implementation
with a wrapper around computeKnownFPClass.


Compare: https://github.com/llvm/llvm-project/compare/e03200164be0...86d0b524f363


More information about the All-commits mailing list