[all-commits] [llvm/llvm-project] e9c6b6: [SystemZ] Simplify knownbits.ll test

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Tue Jun 30 07:33:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e9c6b63d4a16c7955bf0e7d5c1ab4adbb9d385cc
      https://github.com/llvm/llvm-project/commit/e9c6b63d4a16c7955bf0e7d5c1ab4adbb9d385cc
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2020-06-30 (Tue, 30 Jun 2020)

  Changed paths:
    M llvm/test/CodeGen/SystemZ/knownbits.ll

  Log Message:
  -----------
  [SystemZ] Simplify knownbits.ll test

The knownbits.ll test case is somewhat fragile since:
- it relies on undef inputs; and
- it operates just at the limits of the MaxRecursionDepth

This means that optimization changes may easily cause the test
to spuriously fail.  Rewrite the test so it still validates
the same thing, but in a less fragile manner.




More information about the All-commits mailing list