[clang] [llvm] [RISCV] Add MC layer support for XSfmm*. (PR #133031)

2025-05-15 Thread Jiongjia Lu via cfe-commits
Avimitin wrote: I encountered a clang compiler crash (segmentation fault) when attempting to compile the `utf8_count.c` benchmark from the `rvv-bench` project ([https://github.com/camel-cdr/rvv-bench/blob/main/bench/utf8\_count.c](https://github.com/camel-cdr/rvv-bench/blob/main/bench/utf8_coun

[clang] [llvm] [RISCV] Add MC layer support for XSfmm*. (PR #133031)

2025-05-15 Thread Jiongjia Lu via cfe-commits
Avimitin wrote: > Is the issue really related to this PR? Why would a MC change cause CodeGen > errors? Is it because uncommon extension combinations? I've try to change march combination but which doesn't seems like the root cause of this issue. Even `-march=rv32gc_zve32f_xsfmm128t` could fai

[clang] [llvm] [RISCV] Add MC layer support for XSfmm*. (PR #133031)

2025-05-15 Thread Jiongjia Lu via cfe-commits
Avimitin wrote: > can you please provide the 2 files indicated in the crash report Yes here is the files (Sorry GitHub doesn't support uploading code file, so I have to change them to txt suffix): [test-ef7560.sh.txt](https://github.com/user-attachments/files/20238776/test-ef7560.sh.txt) [test-

[clang] [llvm] [RISCV] Add MC layer support for XSfmm*. (PR #133031)

2025-05-20 Thread Jiongjia Lu via cfe-commits
Avimitin wrote: I still get compiler error for the above case, but with additional error message: ```text fatal error: error in backend: Invalid size request on a scalable vector. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, prepro