https://github.com/lukel97 approved this pull request. LGTM. I don't think there's much point keeping around the TSFlag/optimisation in RISCVInsertVSETVLI if none of the intrinsics can manually set the policy. https://github.com/llvm/llvm-project/pull/127535