This patch allows propagation of the R family of options to the backend where a separate patch will implement the optimization
remark printing.
This patch was created to address the comment about splitting into smaller patches in https://reviews.llvm.org/D156320.
IIUC, these are the all options for optimisation remarks? I would extract them to a separate "block" and wrap like this: