[all-commits] [llvm/llvm-project] 926dae: [ConstantRange] Optimize nowrap region test, remov...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun Oct 20 11:58:03 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 926dae33ba658d72e9f8d76d004cd943d6280250
      https://github.com/llvm/llvm-project/commit/926dae33ba658d72e9f8d76d004cd943d6280250
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2019-10-20 (Sun, 20 Oct 2019)

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

  Log Message:
  -----------
  [ConstantRange] Optimize nowrap region test, remove redundant tests; NFC

Enumerate one less constant range in TestNoWrapRegionExhaustive,
which was unnecessary. This allows us to bump the bit count from
3 to 5 while keeping reasonable timing.

Drop four tests for multiply nowrap regions, as these cover subsets
of the exhaustive test. They do use a wider bitwidth, but I don't
think it's worthwhile to have them additionally now.

llvm-svn: 375369




More information about the All-commits mailing list