[all-commits] [llvm/llvm-project] 066b49: [NFC] Add exhaustive test coverage for `{Un}signed...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sat Dec 24 17:11:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 066b492b747a7e00f537eab9f0196575522ec285
      https://github.com/llvm/llvm-project/commit/066b492b747a7e00f537eab9f0196575522ec285
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2022-12-25 (Sun, 25 Dec 2022)

  Changed paths:
    M llvm/lib/Support/DivisionByConstantInfo.cpp
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Support/DivisionByConstantTest.cpp

  Log Message:
  -----------
  [NFC] Add exhaustive test coverage for `{Un}signedDivisionByConstantInfo`

Use this wrapper if you want to try brute-forcing wider bit widths:
https://godbolt.org/z/3xGzTM881

I've brute-forced i16 for both signed and unsigned, and we're all good.
As mentioned in https://reviews.llvm.org/D140636




More information about the All-commits mailing list