https://github.com/jeanPerier commented: Thanks @JDPailleux, the strategy looks good to me. Minor nit in inline comment. LGTM provided you address the functional issues raised by other reviewers. https://github.com/llvm/llvm-project/pull/205847