AMDGPU: Fix not emitting code for exotic constructor types
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 9 Dec 2022 18:22:12 +0000 (13:22 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 9 Dec 2022 18:22:12 +0000 (13:22 -0500)
commit41c96e94835df372ccdb6ad4df07b7bfaf257b51
treea2b7af19c7f2aa5e2917e43d9904f069b7e62636
parent7ea80c279f59b0567d26c77155d982b5d6ce1c81
AMDGPU: Fix not emitting code for exotic constructor types

This was simply ignoring any entries that weren't direct function
calls. This really should have been erroring on anything
unexpected. We should be able to handle calling just about anything
these days, so just call anything.
llvm/lib/Target/AMDGPU/AMDGPUCtorDtorLowering.cpp
llvm/test/CodeGen/AMDGPU/lower-ctor-dtor-constexpr-alias.ll [new file with mode: 0644]