diff options
author | Owen Anderson <resistor@mac.com> | 2015-05-26 23:48:40 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2015-05-26 23:48:40 +0000 |
commit | 85fa7d5037fed8191ef67c2b4d954218b942a7d1 (patch) | |
tree | 7e3c7d6e771cbbe3926c0411cd3d1ee678a493b6 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 3abb86da627a01b1e2091c08a9117dc273f9473f (diff) | |
download | llvm-85fa7d5037fed8191ef67c2b4d954218b942a7d1.zip llvm-85fa7d5037fed8191ef67c2b4d954218b942a7d1.tar.gz llvm-85fa7d5037fed8191ef67c2b4d954218b942a7d1.tar.bz2 |
Add initial support for the convergent attribute.
llvm-svn: 238264
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 3a539e1..97caefb 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -166,6 +166,8 @@ static uint64_t getAttrKindEncoding(Attribute::AttrKind Kind) { return bitc::ATTR_KIND_BUILTIN; case Attribute::ByVal: return bitc::ATTR_KIND_BY_VAL; + case Attribute::Convergent: + return bitc::ATTR_KIND_CONVERGENT; case Attribute::InAlloca: return bitc::ATTR_KIND_IN_ALLOCA; case Attribute::Cold: |