darkbuck wrote: > Maybe jump threading can have flags to do 'lightweight' threading (that subsumes what SimplifyCFG does with a simple cost model)? This way we have the code in one place. That looks to me quite practice. https://github.com/llvm/llvm-project/pull/100185