[all-commits] [llvm/llvm-project] 9eb804: [ConstantRange] Support checking optimality for su...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Oct 15 13:48:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9eb8040a28b90c3d7ec8f2cae593f1b3509ce2de
      https://github.com/llvm/llvm-project/commit/9eb8040a28b90c3d7ec8f2cae593f1b3509ce2de
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-10-15 (Fri, 15 Oct 2021)

  Changed paths:
    M llvm/unittests/IR/ConstantRangeTest.cpp

  Log Message:
  -----------
  [ConstantRange] Support checking optimality for subset of inputs (NFC)

We always want to check correctness, but for some operations we
can only guarantee optimality for a subset of inputs. Accept an
additional predicate that determines whether optimality for a
given pair of ranges should be checked.




More information about the All-commits mailing list