diff options
author | Stephen Canon <scanon@apple.com> | 2015-09-22 11:43:17 +0000 |
---|---|---|
committer | Stephen Canon <scanon@apple.com> | 2015-09-22 11:43:17 +0000 |
commit | 8216d88511cae5fa9b62ac22ed874fa543cadea4 (patch) | |
tree | 59dd85cc6f34c01e1fbcfe045b8f91dad1ee12b1 /lldb/source/Host | |
parent | 10c80e79963f26b0c3d155506376a8c0ab4472bd (diff) | |
download | bcm5719-llvm-8216d88511cae5fa9b62ac22ed874fa543cadea4.tar.gz bcm5719-llvm-8216d88511cae5fa9b62ac22ed874fa543cadea4.zip |
Don't raise inexact when lowering ceil, floor, round, trunc.
The C standard has historically not specified whether or not these functions should raise the inexact flag. Traditionally on Darwin, these functions *did* raise inexact, and the llvm lowerings followed that conventions. n1778 (C bindings for IEEE-754 (2008)) clarifies that these functions should not set inexact. This patch brings the lowerings for arm64 and x86 in line with the newly specified behavior. This also lets us fold some logic into TD patterns, which is nice.
Differential Revision: http://reviews.llvm.org/D12969
llvm-svn: 248266
Diffstat (limited to 'lldb/source/Host')
0 files changed, 0 insertions, 0 deletions