MLton 20100608 CombineConversions
Home  Index  
Combine conversions is an optimization pass for the SSA IntermediateLanguage, invoked from SSASimplify.

Description

This pass looks for and simplifies nested calls to (signed) extension/truncation.

Implementation

[WWW]combine-conversions.sig [WWW]combine-conversions.fun

Details and Notes

It processes each block in dfs order (visiting definitions before uses):

The optimization rules are very simple:


Last edited on 2009-08-02 22:19:10 by MatthewFluet.