[all-commits] [llvm/llvm-project] 94eebf: InstSimplify: support floating-point equivalences ...

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Fri Nov 15 12:06:33 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94eebf721a2f8630412730f51d5071816a686ea0
      https://github.com/llvm/llvm-project/commit/94eebf721a2f8630412730f51d5071816a686ea0
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-11-15 (Fri, 15 Nov 2024)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    A llvm/test/Transforms/InstSimplify/select-equivalence-fp.ll

  Log Message:
  -----------
  InstSimplify: support floating-point equivalences (#115152)

Since cd16b07 (IR: introduce CmpInst::isEquivalence), there is now an
isEquivalence routine in CmpInst that we can use to determine
equivalence in simplifySelectWithICmpEq. Implement this, extending the
code from integer-equalities to integer and floating-point equivalences.



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