isl_pw_*_scale_val: use isl_pw_*_n_piece
commit3489208cbaf085252e7ba1597b1f76ef870ff91d
authorSven Verdoolaege <sven@cerebras.net>
Tue, 22 Jun 2021 15:01:07 +0000 (22 17:01 +0200)
committerSven Verdoolaege <sven@cerebras.net>
Sun, 1 Aug 2021 12:20:55 +0000 (1 14:20 +0200)
treef10c8d8add0b9e9779fb927aac61f29768b35ed7
parent2fa79d330dcd63b4ecbf81c0f7877de918e422e9
isl_pw_*_scale_val: use isl_pw_*_n_piece

This reduces the dependence on the internal representation.

Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
isl_pw_templ.c