Use a SetVector to store blocks in a cycle to ensure a quick loop-up when
querying whether the cycle contains a given block.
This follows along the same lines as the SmallPtrSet in LoopBase, introduced by
commit be640b28c0cb81b77015baaef20ca2941fc61dea
Maybe use SmallVector<BlockT *, 8> for the vector, to "match" the SmallPtrSet?