diff options
author | Elliot Colp <colpell@ca.ibm.com> | 2016-08-03 15:09:21 +0000 |
---|---|---|
committer | Elliot Colp <colpell@ca.ibm.com> | 2016-08-03 15:09:21 +0000 |
commit | 82b1468a4dacc9d3e59cddb587b10acde871296a (patch) | |
tree | a7d75418f4cd69379d23c9a4b72dcb78a1c59c3c /clang/unittests/Tooling/RefactoringTest.cpp | |
parent | ed4e7827bbddd281a8241b603a5825f7842ba1de (diff) | |
download | llvm-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