[all-commits] [llvm/llvm-project] bd050a: [FPEnv][InstSimplify] Teach CannotBeNegativeZero()...

Kevin P. Neal via All-commits all-commits at lists.llvm.org
Fri Mar 18 07:25:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd050a34febbd26c60ff1f0fe23f5150914c9e6f
      https://github.com/llvm/llvm-project/commit/bd050a34febbd26c60ff1f0fe23f5150914c9e6f
  Author: Kevin P. Neal <kevin.neal at sas.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstSimplify/strictfp-fsub.ll
    M llvm/test/Transforms/InstSimplify/strictfp-sqrt-nonneg.ll

  Log Message:
  -----------
  [FPEnv][InstSimplify] Teach CannotBeNegativeZero() about constrained intrinsics.

Currently some optimizations are disabled because llvm::CannotBeNegativeZero()
does not know how to deal with the constrained intrinsics. This patch fixes
that by extending the existing implementation.

Differential Revision: https://reviews.llvm.org/D121483




More information about the All-commits mailing list