We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d6ace8 commit 1eee8e0Copy full SHA for 1eee8e0
offload/plugins-nextgen/amdgpu/src/rtl.cpp
@@ -2643,7 +2643,7 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
2643
Pattern = *reinterpret_cast<const uint32_t *>(PatternPtr);
2644
} else {
2645
// Shouldn't be here if the pattern size is outwith those values
2646
- std::terminate();
+ llvm_unreachable("Invalid pattern size");
2647
}
2648
2649
if (hasPendingWorkImpl(AsyncInfoWrapper)) {
0 commit comments