Commit 45610ce
committed
[RISCV] Move Size and CopyCost overrides for vector register to the VReg class. NFC
Instead using the IsVRegClass to calculate in the base class, just
override directly.
This will scale better if we need to do different types of overrides
for other register types in the future.1 parent 37d99e9 commit 45610ce
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | 228 | | |
232 | 229 | | |
233 | 230 | | |
| |||
719 | 716 | | |
720 | 717 | | |
721 | 718 | | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
| |||
0 commit comments