HomePhabricator

[legalize-types] Clean up softening machinery.

Description

[legalize-types] Clean up softening machinery.

The patch makes SoftenFloatResult/Operand logic just the same as all other legalization routines have: SoftenFloatResult() now fills the SoftenFloats map and SoftenFloatOperand() perform all needed replacements. This prevents softening mashinery from leaving stale entries in SoftenFloats map (that resulted in errors during the legalize type checking) and clarifies softening. The patch replaces https://reviews.llvm.org/D29265.

Differential Revision: https://reviews.llvm.org/D31946

Details

Committed
ayartsevJul 3 2017, 6:08 PM
Differential Revision
D31946: [legalize-types] Clean up softening machinery.
Parents
rL307052: [CodeGen] Check key function for typeinfo import
Branches
Unknown
Tags
Unknown