commit | 1b68ca9a47b346c7248d6b662d70bbaf058730d0 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Sun Sep 18 21:49:32 2016 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Sun Sep 18 21:49:32 2016 +0000 |
tree | f1f380b465938d7e0276eab2b700ab79901a2440 | |
parent | ae55aa08fea4b915728c0da746b3466c115a127a [diff] |
[AVX-512] Don't lower CVTPD2PS intrinsics to ISD::FP_ROUND with an X86 rounding mode encoding in the second operand. This immediate should only be 0 or 1 and indicates if the truncation loses precision. Also enhance an assert in SelectionDAG::getNode to flag this sort of problem in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281868 91177308-0d34-0410-b5e6-96231b3b80d8