>> Where does the actual HI->SI extension happen then? No chance we see it >> during combine/late-combine? > > There is no HI->SI extension from the 272.expand and combine dump, so there > is no change in RTL or > It is unsafe here. I think we need additional fix to make it work, may > related to int promotion I guess.
Hmm, yes, integer promotion would make sense. Then I guess the variables are already in the optimized dump? > In theory yes, may be I am over-considering here. If it is equality, bring > the data > to vector first may be has better opportunities in rvv env. > It is totally to keep original sematics if it is useless or incorrect. It's not absolutely necessary to keep the same order in this case but it helps understanding. I would only change it if there's a combine opportunity or so.
