aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMelanie Blower <melanie.blower@intel.com>2021-06-09 11:38:34 -0400
committerMelanie Blower <melanie.blower@intel.com>2021-06-28 12:26:53 -0400
commit4f1238e44d803b145997fa984677a6c5cdf1f417 (patch)
tree24f4ae7bc9027d11ff6b3938360468d098078640 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2c02b0c3f45414ac6c64583e006a26113c028304 (diff)
downloadllvm-4f1238e44d803b145997fa984677a6c5cdf1f417.zip
llvm-4f1238e44d803b145997fa984677a6c5cdf1f417.tar.gz
llvm-4f1238e44d803b145997fa984677a6c5cdf1f417.tar.bz2
[clang][patch][fpenv] Add builtin __arithmetic_fence and option fprotect-parens
This patch adds a new clang builtin, __arithmetic_fence. The purpose of the builtin is to provide the user fine control, at the expression level, over floating point optimization when -ffast-math (-ffp-model=fast) is enabled. The builtin prevents the optimizer from rearranging floating point expression evaluation. The new option fprotect-parens has the same effect on parenthesized expressions, forcing the optimizer to respect the parentheses. Reviewed By: aaron.ballman, kpn Differential Revision: https://reviews.llvm.org/D100118
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions