[all-commits] [llvm/llvm-project] 18cc98: [ConstantFold] Remove unnecessarily complicated ev...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Nov 3 04:05:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18cc980ca30e5f013542518439da020f45ebe497
      https://github.com/llvm/llvm-project/commit/18cc980ca30e5f013542518439da020f45ebe497
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp

  Log Message:
  -----------
  [ConstantFold] Remove unnecessarily complicated evaluateFCmpRelation() (NFCI)

The only thing this actually handles is if the operands are the
same, in which case ueq is returned.

Given that nearly all FP constant expressions have already been
removed, I think it's safe to say that we aren't going to extend
this code in a way that makes use of the more general structure.




More information about the All-commits mailing list