diff options
author | Vedant Kumar <vsk@apple.com> | 2015-10-27 21:17:06 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2015-10-27 21:17:06 +0000 |
commit | ad6d6e742316e4ddc0c2879b92c85398b0847e31 (patch) | |
tree | 8000f0baad9981e02888f23e33f1c28c11cb2b8f /llvm/test/Bitcode/compatibility-3.6.ll | |
parent | b1bb7391660e30ae5d51391407fc9956c4c55fb0 (diff) | |
download | bcm5719-llvm-ad6d6e742316e4ddc0c2879b92c85398b0847e31.tar.gz bcm5719-llvm-ad6d6e742316e4ddc0c2879b92c85398b0847e31.zip |
[IR] Limit bits used for CallingConv::ID, update tests
Use 10 bits to represent calling convention ID's instead of 13, and
update the bitcode compatibility tests accordingly. We now error-out in
the bitcode reader when we see bad calling conv ID's.
Thanks to rnk and dexonsmith for feedback!
Differential Revision: http://reviews.llvm.org/D13826
llvm-svn: 251452
Diffstat (limited to 'llvm/test/Bitcode/compatibility-3.6.ll')
-rw-r--r-- | llvm/test/Bitcode/compatibility-3.6.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/compatibility-3.6.ll b/llvm/test/Bitcode/compatibility-3.6.ll index 53f061da00d..dcec8dc17bd 100644 --- a/llvm/test/Bitcode/compatibility-3.6.ll +++ b/llvm/test/Bitcode/compatibility-3.6.ll @@ -375,8 +375,8 @@ declare cc80 void @f.cc80() ; CHECK: declare x86_vectorcallcc void @f.cc80() declare x86_vectorcallcc void @f.x86_vectorcallcc() ; CHECK: declare x86_vectorcallcc void @f.x86_vectorcallcc() -declare cc8191 void @f.cc8191() -; CHECK: declare cc8191 void @f.cc8191() +declare cc1023 void @f.cc1023() +; CHECK: declare cc1023 void @f.cc1023() ; Functions -- ret attrs (Return attributes) declare zeroext i64 @f.zeroext() |