[all-commits] [llvm/llvm-project] fb063c: [InstCombine] Duplicate tests for logical and/or (...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jan 12 12:55:52 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fb063c933f0062db7fee622f7a43a6a5e560672d
      https://github.com/llvm/llvm-project/commit/fb063c933f0062db7fee622f7a43a6a5e560672d
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/2006-12-15-Range-Test.ll
    M llvm/test/Transforms/InstCombine/2007-03-13-CompareMerge.ll
    M llvm/test/Transforms/InstCombine/2007-05-10-icmp-or.ll
    M llvm/test/Transforms/InstCombine/2007-11-15-CompareMiscomp.ll
    M llvm/test/Transforms/InstCombine/2008-01-13-AndCmpCmp.ll
    M llvm/test/Transforms/InstCombine/2008-02-28-OrFCmpCrash.ll
    M llvm/test/Transforms/InstCombine/2008-06-21-CompareMiscomp.ll
    M llvm/test/Transforms/InstCombine/2008-08-05-And.ll
    M llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll
    M llvm/test/Transforms/InstCombine/2012-03-10-InstCombine.ll
    M llvm/test/Transforms/InstCombine/and-fcmp.ll
    M llvm/test/Transforms/InstCombine/and-or-icmp-min-max.ll
    M llvm/test/Transforms/InstCombine/and-or-icmp-nullptr.ll
    M llvm/test/Transforms/InstCombine/and-or-icmps.ll
    M llvm/test/Transforms/InstCombine/and.ll
    M llvm/test/Transforms/InstCombine/and2.ll
    M llvm/test/Transforms/InstCombine/assume.ll
    M llvm/test/Transforms/InstCombine/bit-checks.ll
    M llvm/test/Transforms/InstCombine/canonicalize-clamp-with-select-of-constant-threshold-pattern.ll
    M llvm/test/Transforms/InstCombine/demorgan.ll
    M llvm/test/Transforms/InstCombine/dont-distribute-phi.ll
    M llvm/test/Transforms/InstCombine/fold-bin-operand.ll
    M llvm/test/Transforms/InstCombine/freeze.ll
    M llvm/test/Transforms/InstCombine/icmp-custom-dl.ll
    M llvm/test/Transforms/InstCombine/icmp-logical.ll
    M llvm/test/Transforms/InstCombine/icmp.ll
    M llvm/test/Transforms/InstCombine/ispow2.ll
    M llvm/test/Transforms/InstCombine/logical-select-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/logical-select.ll
    M llvm/test/Transforms/InstCombine/merge-icmp.ll
    M llvm/test/Transforms/InstCombine/objsize-noverify.ll
    M llvm/test/Transforms/InstCombine/onehot_merge.ll
    M llvm/test/Transforms/InstCombine/or-fcmp.ll
    M llvm/test/Transforms/InstCombine/or.ll
    M llvm/test/Transforms/InstCombine/prevent-cmp-merge.ll
    M llvm/test/Transforms/InstCombine/range-check.ll
    M llvm/test/Transforms/InstCombine/result-of-add-of-negative-is-non-zero-and-no-underflow.ll
    M llvm/test/Transforms/InstCombine/result-of-add-of-negative-or-zero-is-non-zero-and-no-underflow.ll
    M llvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll
    M llvm/test/Transforms/InstCombine/select-crash-noverify.ll
    M llvm/test/Transforms/InstCombine/select-ctlz-to-cttz.ll
    M llvm/test/Transforms/InstCombine/select-imm-canon.ll
    M llvm/test/Transforms/InstCombine/select.ll
    M llvm/test/Transforms/InstCombine/set.ll
    M llvm/test/Transforms/InstCombine/sign-test-and-or.ll
    M llvm/test/Transforms/InstCombine/signed-truncation-check.ll
    M llvm/test/Transforms/InstCombine/umul-sign-check.ll
    M llvm/test/Transforms/InstCombine/usub-overflow-known-by-implied-cond.ll
    M llvm/test/Transforms/InstCombine/widenable-conditions.ll
    M llvm/test/Transforms/InstCombine/zext-or-icmp.ll

  Log Message:
  -----------
  [InstCombine] Duplicate tests for logical and/or (NFC)

This replicates existing and/or tests to also test variants using
select. This should help us get a more accurate view on which
optimizations we're missing if we disable the select -> and/or
fold.




More information about the All-commits mailing list