HomePhabricator

[legalize-types] Clean up softening machinery.

Authored by ayartsev on Jul 3 2017, 6:08 PM.

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

llvm-svn: 307053

Details

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