Skip to content

fix: ac/llvm: LLVM 18: remove useless passes, partially removed upstream

Upstream removed llvm::createLoopSinkPass() in commit b9975cec0ea0a2f10d65b7bd1197d9e1706cbd3d and there is no useful alternative except moving to the new pass manager.

On top of that, the usage of this optimisation pass and PromoteMemoryToRegisterPass were just useless, according to the upstream developer of the commit named above. Therefore the easiest solution is, as him, Marek and Dave suggested, to just remove these two passes from the pipeline for now.

Edited by Kai Wasserbäch

Merge request reports