Issue 83391
Summary RVV spilling when using VCIX instructions with `-mtune=sifive-x280`
Labels new issue
Assignees
Reporter michalt
    We encountered a weird problem where using `-mtune`for the X280 results in a very poor codegen: https://godbolt.org/z/qfzKMcq84 (note that by adding more blocks the problem gets worse and worse as we get more spills)

My hypothesis is that due to the recent change to allow reordering VCIX instructions, the scheduler tries to move all the loads before the VCIX instructions. What is surprising is that it doesn't seem to take into account register pressure?

@topperc and @michaelmaitland Any ideas what's happening? Thanks!
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to