When legalizing the result of a SELECT_CC node by promoting the
floating-point type, use the promoted-to type rather than the original
type.
Fix PR40273.
Paths
| Differential D56566
[Legalizer] Use correct ValueType of SELECT_CC node during Float promotion ClosedPublic Authored by pirama on Jan 10 2019, 3:51 PM.
Details Summary When legalizing the result of a SELECT_CC node by promoting the Fix PR40273.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 10 2019, 3:59 PM Closed by commit rL350951: [Legalizer] Use correct ValueType of SELECT_CC node during Float promotion (authored by pirama). · Explain WhyJan 11 2019, 10:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 181178 lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
test/CodeGen/X86/half.ll
|