[all-commits] [llvm/llvm-project] 23fa30: [InstCombine] add test for udiv with shl divisor; NFC

Sanjay Patel via All-commits all-commits at lists.llvm.org
Wed Oct 12 08:53:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23fa3031ffc42dbe309e44ff0b9f6d09bb77f724
      https://github.com/llvm/llvm-project/commit/23fa3031ffc42dbe309e44ff0b9f6d09bb77f724
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/div-shift.ll

  Log Message:
  -----------
  [InstCombine] add test for udiv with shl divisor; NFC

This would solve an example from issue #58137 more
generally, but it may require adding a canonicalization
for shift + shift to shift + add.




More information about the All-commits mailing list