[enco] Fix comment for duplicate_inout_bag (#2864)
author박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 16 Jan 2019 06:53:55 +0000 (15:53 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 16 Jan 2019 06:53:55 +0000 (15:53 +0900)
This will fix a typo and explanation of the function

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
contrib/enco/core/src/Backend.cpp

index 8cf2306..f5a07e8 100644 (file)
@@ -93,10 +93,10 @@ void BackendImpl::compile(coco::Module *m, coco::Data *d)
   // validate if IR from frontend is correct
   assert(validate(code(sess)));
 
-  // As explained below, the current implementation does not work if there is a pair of input/ouput
+  // As explained below, the current implementation does not work if there is a pair of input/output
   // that share the same bag as their underlying bag.
   //
-  // This DuplicatePass creates a copy of such bags in order to eliminate such a pair.
+  // 'duplicate_inout_bag()' creates a copy of such bags in order to eliminate such a pair.
   duplicate_inout_bag(code(sess));
 
   // The current implementation will assign memory region for each bag as follows: