Skip to content

Commit 2b3ff27

Browse files
committed
[RISCV][VLOpt] Consolidate EMUL=SEW/EEW*LMUL logic [NFC]
All but one of the cases in tree today have EMUL=SEW/EEW*LMUL. Repeating this each time is verbose and introduces oppurtunity for error. (For instance, the comment associated with vwmul.vv was out of sync with the code for same.) Introduce getOperandLog2EEW and move most complexity to it. Then introduce getOperandInfo as a wrapper around previous, and special case the one case which requires it.
1 parent 4c43648 commit 2b3ff27

File tree

1 file changed

+103
-84
lines changed

1 file changed

+103
-84
lines changed

0 commit comments

Comments
 (0)