diff options
| author | Jonas Paulsson <paulson1@linux.ibm.com> | 2024-09-19 16:59:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-19 16:59:31 +0200 |
| commit | 14120227a34365e829d05c1413033d235d7d272c (patch) | |
| tree | 923dcfc9248933c9b0191589b0d336c48ae10786 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
| parent | 9ca62c5302633d0220de30f2b2a21d87dee64ac0 (diff) | |
| download | llvm-14120227a34365e829d05c1413033d235d7d272c.zip llvm-14120227a34365e829d05c1413033d235d7d272c.tar.gz llvm-14120227a34365e829d05c1413033d235d7d272c.tar.bz2 | |
Target ABI: improve call parameters extensions handling (#100757)
For the purpose of verifying proper arguments extensions per the target's ABI,
introduce the NoExt attribute that may be used by a target when neither sign-
or zeroextension is required (e.g. with a struct in register). The purpose of
doing so is to be able to verify that there is always one of these attributes
present and by this detecting cases where sign/zero extension is actually
missing.
As a first step, this patch has the verification step done for the SystemZ
backend only, but left off by default until all known issues have been
addressed.
Other targets/front-ends can now also add NoExt attribute where needed and do
this check in the backend.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions
