[AMDGPU][DAGISel] Be more flexible about what calls are allowed
authorDiana Picus <Diana-Magda.Picus@amd.com>
Tue, 20 Jun 2023 07:23:50 +0000 (09:23 +0200)
committerDiana Picus <Diana-Magda.Picus@amd.com>
Tue, 27 Jun 2023 07:49:38 +0000 (09:49 +0200)
commitd98e44b34364f3e039c766adec470c5be517f1b4
tree214031ad7effc1a88bbe0c54bec83d171099b7fc
parent8aa88ee5e01df0daf08a3768fbf23fe655ad81c0
[AMDGPU][DAGISel] Be more flexible about what calls are allowed

Remove DAGISel checks on calling conventions. GlobalISel doesn't have
these checks either and we prefer it that way (see D152794).

Add a simple test like the one introduced in D117479 for GlobalISel.

Differential Revision: https://reviews.llvm.org/D153535
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/test/CodeGen/AMDGPU/call-c-function.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/unsupported-calls.ll