diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2015-07-10 13:37:07 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2015-07-10 13:37:07 +0000 |
commit | 2ef5ec6b2bc0c0bcc5b7b09004de4038fe1f901e (patch) | |
tree | 35901313c27b03586a6dbfcf4337cdbcd51352ad /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 0e4152e391177de27feb461611d4045f22cb57c1 (diff) | |
download | llvm-2ef5ec6b2bc0c0bcc5b7b09004de4038fe1f901e.zip llvm-2ef5ec6b2bc0c0bcc5b7b09004de4038fe1f901e.tar.gz llvm-2ef5ec6b2bc0c0bcc5b7b09004de4038fe1f901e.tar.bz2 |
Fix implementation of sqrt v2
Passing values less than 0 to the llvm.sqrt() intrinsic results in
undefined behavior, so we need to check the input and return NaN if
is is less than 0.
v2:
- Fix build failures.
llvm-svn: 241906
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions