| Issue |
161033
|
| Summary |
MIPS: a ICE for -msingle-float
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
wzssyqa
|
```
void f(void) {
asm volatile ("nop" : : : "$f20", "$f21", "$f22", "$f23", "$f24", "$f25", "$f26", "$f27", "$f28", "$f29", "$f30", "$f31");
}
```
```
clang-22: /home/syq/llvm-project/llvm/include/llvm/CodeGen/TargetLowering.h:1072: virtual const TargetRegisterClass *llvm::TargetLoweringBase::getRegClassFor(MVT, bool) const: Assertion `RC && "This value type is not natively supported!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: ./bin/clang-22 --target=mipsel-linux-gnu -S -mabi=32 -msingle-float yy.c -O3
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'yy.c'.
4. Running pass 'MIPS DAG->DAG Pattern Instruction Selection' on function '@f'
```
@Tazdevil971 do you have interesting on this problem?
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs