This will fix a typo and explanation of the function
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
// 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: