aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/PredicateInfo.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2025-06-20 15:43:39 +0900
committerGitHub <noreply@github.com>2025-06-20 15:43:39 +0900
commit06e08f38e1ec57bf3cb5e08569b52eb6a3c3e166 (patch)
tree725de05907dfc04ab10f19fb9aea09c1ccce262a /llvm/lib/Transforms/Utils/PredicateInfo.cpp
parent0f302f38b0014a0018031ffb3cb898fdc7d90880 (diff)
downloadllvm-06e08f38e1ec57bf3cb5e08569b52eb6a3c3e166.zip
llvm-06e08f38e1ec57bf3cb5e08569b52eb6a3c3e166.tar.gz
llvm-06e08f38e1ec57bf3cb5e08569b52eb6a3c3e166.tar.bz2
AArch64: Use reportFatalUsageError for unsupported calling conv (#144840)
This probably should emit a DiagnosticInfoUnsupported and use the default calling convention instead, but then we would need to pass in the context. Also move where CCAssignFnForCall is called. It was unnecessarily called for each argument, so the error wouldn't trigger for functions with 0 arguments. This only ensures the error occurs for functions defined with the calling convention. The error is still missed for outgoing calls with no arguments. The lowering logic here is convoluted, calling CCAssignFnForCall for each argument and it does not mirror LowerFormalArguments so I'm not sure what's going on here.
Diffstat (limited to 'llvm/lib/Transforms/Utils/PredicateInfo.cpp')
0 files changed, 0 insertions, 0 deletions