1. 01 Apr, 2020 1 commit
    • [RELAY] Fixes to MergeCompilerRegions (#5195) · 04499665
      * [RELAY] Fixed issues with MergeCompilerRegions
      
      This PR addresses a few outstanding issues with
      the implementation of MergeCompilerRegions. In
      particular, it now handles TupleGetItem nodes properly
      and other minor bugs related to region merging have
      been fixed.
      
      Change-Id: I07783afc56183a6f798a510209f23b0a5f252255
      
      * Fixed issue using pre-merged regions
      
      Change-Id: I0a844ac59bda1089ae0c67cef52f0b0c7ab2cbd7
      
      * Removed some debugging logic
      
      Change-Id: Ib6f2eede6f38bbb270073eb8d4c4dc19f60832c6
      
      * Remove default annotations
      
      Change-Id: I9b7696a51c95871491cbea33c40f92ec327e417f
      
      * Annotate default 'if's
      
      Change-Id: I0098bd1bf6788dd6366810dcefa84f1ebbffaab0
      
      * Clang format
      
      Change-Id: I944365cd3080a97a9261f643a8f1efa5a63cf82b
      
      * Use src/dest in merge
      
      Change-Id: Ie43113492bda8f1ce63eaf9615cb645bb9e2ee86
      
      * Fixed partition test
      
      Change-Id: I46f9e349b1a813a9140f7e4f8a2241687e2df73b
      
      * Removed comments
      
      Change-Id: I309afdd1951d7e796e41d13788aa487707e0ac4c
      mbaret committed
  2. 30 Mar, 2020 1 commit
    • [RELAY] Add MergeCompilerRegions pass (#5134) · 02121383
      * [RELAY] Add MergeCompilerRegions pass
      
      This pass is part of the flow to support creating compiler
      regions with multiple outputs. It should be called after
      AnnotateTarget and will merge together regions that share
      the same target to create larger compiler regions that can
      be off-loaded to external codegens.
      
      This pass implements an algorithm to ensure that during the
      merging, no data dependency issues are created. See the tests
      for an example of this case.
      
      Co-authored-by: Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      Co-authored-by: Manupa Karunaratne    <manupa.karunaratne@arm.com>
      
      Change-Id: Ibd99083564608d888482f57c5080109f3eefec88
      
      * [RELAY] Annotate compiler_ends on each edge
      
      This alters the behaviour of the AnnotateTarget
      pass to enforce the property that all compiler
      annotations exist along a single data flow edge.
      Specifically, this means they should have exactly
      one parent and one child.
      
      Change-Id: I0e74803a77767f4f377d17755a13a74a30909797
      
      * Fix comment
      
      * Rebase *Node::make
      
      * Moved block outside for loop
      
      * Code style
      
      * Update make API
      
      * Remove comment
      
      * Remove redundant 'else's
      
      * Make one line
      
      * Fix comment
      
      * RefWrite
      
      * Fix merge ordering
      
      * Add the RFC example as a test
      
      * [FIX] Fixed merging behaviour in AnnotateRegionSet
      
      Deleting items from a list while iterating it seems to
      result in undefined behaviour which sometimes segfaults.
      This makes sure all the item deletion happens separately.
      
      * Added checks
      
      * Move comment
      
      * Update comments
      mbaret committed
  3. 27 Mar, 2020 1 commit
  4. 23 Mar, 2020 1 commit
  5. 12 Mar, 2020 1 commit
  6. 03 Mar, 2020 1 commit