fhahn wrote: If it is not too much extra work, it would probably also be good to introduce the worklist as NFC commit without test changes and then replace the patterns. https://github.com/llvm/llvm-project/pull/93998