]> granicus.if.org Git - clang/commit
Add support for generating MIPS legacy NaN
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Thu, 26 Feb 2015 18:19:22 +0000 (18:19 +0000)
committerPetar Jovanovic <petar.jovanovic@imgtec.com>
Thu, 26 Feb 2015 18:19:22 +0000 (18:19 +0000)
commit056cc8470bec0bb318e9ebf36b790a2d3137020c
tree5f00d6238c7f04c9ff9cae2280894bce77502d7c
parent24feb0432e9242fafcf705821b865ebd067193a3
Add support for generating MIPS legacy NaN

Currently, the NaN values emitted for MIPS architectures do not cover
non-IEEE754-2008 compliant case. This change fixes the issue.

Patch by Vladimir Radosavljevic.

Differential Revision: http://reviews.llvm.org/D7882

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230653 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TargetInfo.h
lib/AST/ExprConstant.cpp
lib/Basic/Targets.cpp
test/CodeGen/builtin-nan-legacy.c [new file with mode: 0644]