summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/compatibility.ll
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2015-10-27 21:17:06 +0000
committerVedant Kumar <vsk@apple.com>2015-10-27 21:17:06 +0000
commitad6d6e742316e4ddc0c2879b92c85398b0847e31 (patch)
tree8000f0baad9981e02888f23e33f1c28c11cb2b8f /llvm/test/Bitcode/compatibility.ll
parentb1bb7391660e30ae5d51391407fc9956c4c55fb0 (diff)
downloadbcm5719-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.ll')
-rw-r--r--llvm/test/Bitcode/compatibility.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/compatibility.ll b/llvm/test/Bitcode/compatibility.ll
index e18c239d530..4c6349c803c 100644
--- a/llvm/test/Bitcode/compatibility.ll
+++ b/llvm/test/Bitcode/compatibility.ll
@@ -377,8 +377,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()
OpenPOWER on IntegriCloud