Automatically unroll loops based on the loop index limit (or tripcount).
config_unroll [OPTIONS] <value>
- All loops which have fewer iterations than the specified value are automatically unrolled. The default value is 0.
The following command ensures all loops which have fewer than 18 iterations are automatically unrolled during scheduling.
config_unroll -tripcount_threshold 18