topperc wrote: > Move non-const getMF() to the .cpp file and remove const casting. Why? We do this in many places in tree. Now we have two identical functions in the final binary. https://github.com/llvm/llvm-project/pull/137261