https://github.com/lukel97 commented: Is there much benefit to doing this after the cost is computed? I think we already run regular LICMPass after LoopVectorizer in the default pipeline https://github.com/llvm/llvm-project/pull/181122