diff options
author | Nikita Popov <npopov@redhat.com> | 2023-10-30 15:01:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 15:01:01 +0100 |
commit | 292f34b0d3cb2a04be5ebb85aaeb838b29f71323 (patch) | |
tree | 5f465f63b01af6c693b15b2441598744594c0dd6 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 43a94cbafae13780f67ec4adac2a48863468671b (diff) | |
download | llvm-292f34b0d3cb2a04be5ebb85aaeb838b29f71323.zip llvm-292f34b0d3cb2a04be5ebb85aaeb838b29f71323.tar.gz llvm-292f34b0d3cb2a04be5ebb85aaeb838b29f71323.tar.bz2 |
[AArch64][GlobalISel] Fix incorrect ABI when tail call not supported (#70215)
The check for whether a tail call is supported calls
determineAssignments(), which may modify argument flags. As such, even
though the check fails and a non-tail call will be emitted, it will not
have a different (incorrect) ABI.
Fix this by operating on a separate copy of the arguments.
Fixes https://github.com/llvm/llvm-project/issues/70207.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions