[all-commits] [llvm/llvm-project] eb42b6: [InstCombine][InstSimplify] add tests for i1/i2 mu...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Wed Jan 18 07:17:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb42b67e8c8e37ef59d03897bcf118dd0cf5f394
      https://github.com/llvm/llvm-project/commit/eb42b67e8c8e37ef59d03897bcf118dd0cf5f394
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M llvm/test/Transforms/InstCombine/sub.ll
    M llvm/test/Transforms/InstSimplify/mul.ll

  Log Message:
  -----------
  [InstCombine][InstSimplify] add tests for i1/i2 mul with no-wrap; NFC

A bug was introduced with 68c197f07eeae71 as noted in the
post-commit review comments, and there are potentially
missed smaller transforms/simplifications because no-wrap
multiply with only 1 or 2 bits eliminates some potential
results.


  Commit: 830ac677b792a807de696d28161c693d6515df56
      https://github.com/llvm/llvm-project/commit/830ac677b792a807de696d28161c693d6515df56
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp

  Log Message:
  -----------
  [InstCombine] reduce code duplication in visitSub(); NFC


Compare: https://github.com/llvm/llvm-project/compare/f8450767384b...830ac677b792


More information about the All-commits mailing list