aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/RefactoringTest.cpp
diff options
context:
space:
mode:
authorElliot Colp <colpell@ca.ibm.com>2016-08-03 15:09:21 +0000
committerElliot Colp <colpell@ca.ibm.com>2016-08-03 15:09:21 +0000
commit82b1468a4dacc9d3e59cddb587b10acde871296a (patch)
treea7d75418f4cd69379d23c9a4b72dcb78a1c59c3c /clang/unittests/Tooling/RefactoringTest.cpp
parented4e7827bbddd281a8241b603a5825f7842ba1de (diff)
downloadllvm-82b1468a4dacc9d3e59cddb587b10acde871296a.zip
llvm-82b1468a4dacc9d3e59cddb587b10acde871296a.tar.gz
llvm-82b1468a4dacc9d3e59cddb587b10acde871296a.tar.bz2
Disable shrinking of SNaN constants
When expanding FP constants, we attempt to shrink doubles to floats and perform an extending load. However, on SystemZ, and possibly on other targets (I've only confirmed the problem on SystemZ), the FP extending load instruction may convert SNaN into QNaN, or may cause an exception. So in the general case, we would still like to shrink FP constants, but SNaNs should be left as doubles. Differential Revision: https://reviews.llvm.org/D22685 llvm-svn: 277602
Diffstat (limited to 'clang/unittests/Tooling/RefactoringTest.cpp')
0 files changed, 0 insertions, 0 deletions