[PhaseOrdering] add test for funnel shift (rotate); NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 12 Dec 2018 22:11:05 +0000 (22:11 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 12 Dec 2018 22:11:05 +0000 (22:11 +0000)
commiteb741c29c111cffdd65bca7363476d6af7721fde
tree06aff84c0404a77cdd908ef76fc3b1ad91c1d24a
parent0af6e5facdcc534e097bbe8f565ad827f159f604
[PhaseOrdering] add test for funnel shift (rotate); NFC

As mentioned in D55604, there are 2 bugs here:
1. The new pass manager is speculating wildly by default.
2. The old pass manager is not converting this to funnel shift.

llvm-svn: 348980
llvm/test/Transforms/PhaseOrdering/rotate.ll [new file with mode: 0644]