diff options
author | Jacek Caban <jacek@codeweavers.com> | 2024-07-19 11:43:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 11:43:25 +0200 |
commit | 6cc8774228a4162ebadfa636086a171f82e51a8c (patch) | |
tree | 1709aae472d88321d93c0a967c42d92c58524e8a /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 7f763b162ff0f72bbd98e73da9b10d5d3941247b (diff) | |
download | llvm-6cc8774228a4162ebadfa636086a171f82e51a8c.zip llvm-6cc8774228a4162ebadfa636086a171f82e51a8c.tar.gz llvm-6cc8774228a4162ebadfa636086a171f82e51a8c.tar.bz2 |
[CodeGen][ARM64EC] Add support for hybrid_patchable attribute. (#92965)
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index b3ebe70..324dcbc 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -727,6 +727,8 @@ static uint64_t getAttrKindEncoding(Attribute::AttrKind Kind) { return bitc::ATTR_KIND_HOT; case Attribute::ElementType: return bitc::ATTR_KIND_ELEMENTTYPE; + case Attribute::HybridPatchable: + return bitc::ATTR_KIND_HYBRID_PATCHABLE; case Attribute::InlineHint: return bitc::ATTR_KIND_INLINE_HINT; case Attribute::InReg: |