[LV] Assert if trying to sink replicate region into another region (NFC)
authorFlorian Hahn <flo@fhahn.com>
Fri, 7 May 2021 20:05:58 +0000 (21:05 +0100)
committerFlorian Hahn <flo@fhahn.com>
Fri, 7 May 2021 20:25:35 +0000 (21:25 +0100)
commit337d7652823f59f4613552cebdf81292bf8f393d
tree6f4af8c5cbe6c4c19377939b647335717638cd4a
parent01c26d4e048cf9812e7675cb704c2a4461b68e4c
[LV] Assert if trying to sink replicate region into another region (NFC)

Currently sinking a replicate region into another replicate region is
not supported. Add an assert, to make the problem more obvious, should
it occur.

Discussed post-commit for ccebf7a1096a.
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp