[all-commits] [llvm/llvm-project] 41c42f: [InstCombine] adjust mul tests to avoid reliance o...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Mon Oct 24 06:20:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41c42f5b1825d3f5dfd521f4092c9e64706325a8
      https://github.com/llvm/llvm-project/commit/41c42f5b1825d3f5dfd521f4092c9e64706325a8
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/mul_fold.ll

  Log Message:
  -----------
  [InstCombine] adjust mul tests to avoid reliance on other folds; NFC

This gets the tests closer to the form that we are
trying to test in D136015. Note that the IR has
changed, but the check lines have not changed.

This also shows that the desired commuted pattern
coverage is not as expected.


  Commit: 56c6b612aed1b4bf691a2a5ae731c09b18652ba5
      https://github.com/llvm/llvm-project/commit/56c6b612aed1b4bf691a2a5ae731c09b18652ba5
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/mul_fold.ll

  Log Message:
  -----------
  [InstCombine] vary commuted patterns for mul fold; NFC

Try to get better coverage for the pattern-matching
possibilities in D136015.


Compare: https://github.com/llvm/llvm-project/compare/1534b048d6fd...56c6b612aed1


More information about the All-commits mailing list