[llvm] AMDGPU: Do not assert on unhandled types when demangling libcalls (PR #120068)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 04:39:53 PST 2024
================
@@ -0,0 +1,19 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -passes=amdgpu-simplifylib -amdgpu-prelink %s | FileCheck %s
+; Make sure there are no crashes on unexpected types
+
+%struct.vfloat3 = type { float, float, float }
+
+declare hidden %struct.vfloat3 @_Z3mix7vfloat3S_f(float, float, float, float, float, float, float) #1
----------------
arsenm wrote:
```suggestion
declare hidden %struct.vfloat3 @_Z3mix7vfloat3S_f(float, float, float, float, float, float, float)
```
https://github.com/llvm/llvm-project/pull/120068
More information about the llvm-commits
mailing list