[test] exercise breakLoopBackedge with a switch latch cond
authorPhilip Reames <listmail@philipreames.com>
Fri, 27 Aug 2021 17:09:51 +0000 (10:09 -0700)
committerPhilip Reames <listmail@philipreames.com>
Fri, 27 Aug 2021 17:11:13 +0000 (10:11 -0700)
commiteae90fdc75011f5aee75f33a86d4f4dec93984a3
treeb8d18edab42ee82843d0c6a4d2ebc940681958d8
parente57205b555e116588787af36b4a00ff1dc97bb04
[test] exercise breakLoopBackedge with a switch latch cond

This was reduced from a test case which triggered a revert to my recent change to same function.  It turns out we didn't have *any* coverage of the non-branch latch and my patch was blatantly broken.
llvm/test/Transforms/LoopDeletion/switch.ll [new file with mode: 0644]