fhahn wrote: > LG Unfortunately on latest main we cannot easily identify the vector preheader when constructing the skeleton if the vector loop region is removed :( Need to think if there is a nice solution https://github.com/llvm/llvm-project/pull/108378