Issue 83179
Summary [NVPTX] Assertion "Bad value decomposition" hit while compiling tests
Labels backend:NVPTX
Assignees
Reporter jhuber6
    The NVPTX backend currently crashes when trying to compile this test https://github.com/llvm/llvm-project/blob/main/libc/test/src/__support/uint_test.cpp. I have reduced it down to the following LLVM-IR, or in https://godbolt.org/z/TEbxMz5q1.
```llvm
target triple = "nvptx64-nvidia-cuda"

%"struct.BigInt" = type { %"struct.arr" }
%"struct.arr" = type { [2 x i128] }

define void @foo() {
entry:
  %call6 = call %"struct.BigInt" null(ptr null, i64 0)
 ret void
}
```

This currently crashes in the backend, while other targets seem to handle it fine without crashing.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to