Page MenuHomePhabricator

[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
floating-point type, use the promoted-to type rather than the original
type.

Fix PR40273.

Diff Detail

Repository
rL LLVM

Event Timeline

pirama created this revision.Jan 10 2019, 3:51 PM
This revision is now accepted and ready to land.Jan 10 2019, 3:59 PM
This revision was automatically updated to reflect the committed changes.