| Issue |
180384
|
| Summary |
[hexagon] Assertion llvm::isUIntN - Value is not an N-bit unsigned value
|
| Labels |
backend:Hexagon
|
| Assignees |
androm3da
|
| Reporter |
androm3da
|
Tested 88dff28c9f67e4a73ee8dea85a6c69f2171f1759 on hexagon linux clang and found the issue below.
## Minimal Reproducer Command
```bash
/local/mnt/workspace/bcain-reduce-20260207_142120/install/x86_64-linux-gnu/bin/clang -cc1 -triple hexagon-unknown-linux-musl -emit-obj -target-cpu hexagonv71t -x c /local/mnt/workspace/bcain-reduce-20260207_142120/case-reduced-2003-05-07-VarArgs-a86c23/reduced-2003-05-07-VarArgs-a86c23.c -o /dev/null
```
## Reduced Test Case
Reduced file: `reduced-reduced-2003-05-07-VarArgs-a86c23.c`
```
#define va_arg(v, l) __builtin_va_arg(v, l)
typedef struct {
double d;
int j
} LargeS;
__builtin_va_list test_ap;
test() { va_arg(test_ap, LargeS); }
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs