HomePhabricator

NFC: Refactor block signature conversion to not erase the original arguments.

Authored by rriddle on Nov 13 2019, 10:27 AM.

Description

NFC: Refactor block signature conversion to not erase the original arguments.

This refactors the implementation of block signature(type) conversion to not insert fake cast operations to perform the type conversion, but to instead create a new block containing the proper signature. This has the benefit of enabling the use of pre-computed analyses that rely on mapping values. It also leads to a much cleaner implementation overall. The major user facing change is that applySignatureConversion will now replace the entry block of the region, meaning that blocks generally shouldn't be cached over calls to applySignatureConversion.

PiperOrigin-RevId: 280226936

Details

Committed
A. Unique TensorFlower <gardener@tensorflow.org>Nov 13 2019, 10:27 AM
Parents
rGf45852be6c15: Create and begin writing glossary.
Branches
Unknown
Tags
Unknown

Event Timeline