Changeset 2215 for proto


Ignore:
Timestamp:
Jun 5, 2012, 8:10:42 PM (7 years ago)
Author:
cameron
Message:

Compiler fix: apply AdvanceCombiner? before CarryCounter?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/pablo.py

    r2213 r2215  
    814814    stream_function_visitor = StreamFunctionVisitor(self.main_module)
    815815    self.stream_function_node = stream_function_visitor.stream_function_node
     816    for key, node in self.stream_function_node.iteritems():
     817                AdvanceCombiner().xfrm(node)
    816818    self.main_node = self.stream_function_node[main_node_id]
    817819    self.main_carry_count = CarryCounter().count(self.main_node)
     
    833835                StringMatchCompiler().xfrm(node)
    834836                AssertCompiler().xfrm(node)
    835                 AdvanceCombiner().xfrm(node)
    836837                AugAssignRemoval().xfrm(node)
    837838                Bitwise_to_SIMD().xfrm(node)
     
    907908    StringMatchCompiler().xfrm(self.main_node)
    908909    AugAssignRemoval().xfrm(self.main_node)
    909     AdvanceCombiner().xfrm(self.main_node)
    910910    Bitwise_to_SIMD().xfrm(self.main_node)
    911911    Bitwise_to_SIMD().xfrm(self.main_node)
Note: See TracChangeset for help on using the changeset viewer.