mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251452 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
|
||||
; Check that musttail and tail roundtrip.
|
||||
|
||||
declare cc8191 void @t1_callee()
|
||||
define cc8191 void @t1() {
|
||||
; CHECK: tail call cc8191 void @t1_callee()
|
||||
tail call cc8191 void @t1_callee()
|
||||
declare cc1023 void @t1_callee()
|
||||
define cc1023 void @t1() {
|
||||
; CHECK: tail call cc1023 void @t1_callee()
|
||||
tail call cc1023 void @t1_callee()
|
||||
ret void
|
||||
}
|
||||
|
||||
declare cc8191 void @t2_callee()
|
||||
define cc8191 void @t2() {
|
||||
; CHECK: musttail call cc8191 void @t2_callee()
|
||||
musttail call cc8191 void @t2_callee()
|
||||
declare cc1023 void @t2_callee()
|
||||
define cc1023 void @t2() {
|
||||
; CHECK: musttail call cc1023 void @t2_callee()
|
||||
musttail call cc1023 void @t2_callee()
|
||||
ret void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user