On 1/17/25 5:09 AM, Robin Dapp wrote:
In RVV 1.0, the instruction "vsetvli zero,zero,*" indicates that the
available vector length (avl) does not change. However, in XTheadVector,
this same instruction signifies that the avl should take the maximum value.
Consequently, when fusing vsetvl instructions, the optimization labeled
"VSETVL_VTYPE_CHANGE_ONLY" is disabled for XTheadVector.
LGTM.
It's not marked as a regression, but the code correctness aspects here
are such that I think this should go in regardless of stage.
Pushed to the trunk.
jeff