https://github.com/gysit approved this pull request. Thanks! LGTM modulo nits. It is surprising you did not have to fix more builder calls. Apparently this optimization flags are not used in the import export so far... https://github.com/llvm/llvm-project/pull/115723