> current llvm didn't do any pre optimization. They always > backup+restore for each rounding mode intrinsic
I see. There is still the option of lazily restoring the (entry) FRM before a function call but not read the FRM after every call. Do we have any data on how good or bad the mode-switching LCM works when we explicitly backup and restore for each intrinsic? Regards Robin