[all-commits] [llvm/llvm-project] 4647a4: [ConstantFPRange] Implement `ConstantFPRange::make...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Mon Oct 7 22:41:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4647a4666c4f8edabaa89163e899953bcd584aa7
      https://github.com/llvm/llvm-project/commit/4647a4666c4f8edabaa89163e899953bcd584aa7
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-10-08 (Tue, 08 Oct 2024)

  Changed paths:
    M llvm/lib/IR/ConstantFPRange.cpp
    M llvm/unittests/IR/ConstantFPRangeTest.cpp

  Log Message:
  -----------
  [ConstantFPRange] Implement `ConstantFPRange::makeSatisfyingFCmpRegion` (#110891)

This patch adds support for `ConstantFPRange::makeSatisfyingFCmpRegion`.
We only check the optimality for cases where the result can be
represented by a ConstantFPRange.

This patch also adds some tests for `ConstantFPRange::fcmp` because it
depends on `makeSatisfyingFCmpRegion`. Unfortunately we cannot
exhaustively test this function due to time limit. I just pick some
interesting ranges instead.



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