================ ---------------- lei137 wrote: Thanks for the in depth explanation. IMHO what you did here by making the function virtual and overriding it seems like the right thing to do. https://github.com/llvm/llvm-project/pull/153049