This patch open first set of patches aimed to add better support of floating-point environment to LLVM. Its previous version is present on llvm-commits, uploading the new one here as amount of changes reached about 4K lines (mostly additions) as reported by git. The 14th patch is the biggest one, but it's quite consistent and there is already too many patches in this set.
- Two flags for TargetOptions.
- Three command-line switches to enable flags separately or at the same time.
Maybe "fenv-access" instead of "fpenv-access" to mirror the pragma spelling? I think the description could be improved somewhat. Perhaps "Disable optimizations that assume the default floating-point environment or might change observable floating-point exceptions."