[InstCombine] add test for udiv with shl divisor; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 12 Oct 2022 15:36:27 +0000 (11:36 -0400)
committerSanjay Patel <spatel@rotateright.com>
Wed, 12 Oct 2022 15:53:02 +0000 (11:53 -0400)
commit23fa3031ffc42dbe309e44ff0b9f6d09bb77f724
tree8602b2e341b887c80a62611f6e1a7631b127245d
parenta1e13a80d06c2d1764ab573df06a3b903f134703
[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.
llvm/test/Transforms/InstCombine/div-shift.ll