Skip to content
Commit af5ee86b authored by Craig Topper's avatar Craig Topper
Browse files

[AVX-512] Don't lower CVTPD2PS intrinsics to ISD::FP_ROUND with an X86...

[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.

llvm-svn: 281868
parent c26cd684
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment