[PATCH] D13826: [Bitcode] Limit bits used for CallingConv::ID in Function, update tests
Vedant Kumar via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 26 13:25:56 PDT 2015
vsk updated this revision to Diff 38456.
vsk added a comment.
- Assert when we try to set invalid calling conventions (addresses rnk's comment).
- Error out in the bitcode reader when we see a bad calling conv (this is the compatibility break).
http://reviews.llvm.org/D13826
Files:
include/llvm/IR/Function.h
include/llvm/IR/Instructions.h
lib/Bitcode/Reader/BitcodeReader.cpp
test/Bitcode/compatibility-3.6.ll
test/Bitcode/compatibility-3.6.ll.bc
test/Bitcode/compatibility-3.7.ll
test/Bitcode/compatibility-3.7.ll.bc
test/Bitcode/compatibility.ll
test/Bitcode/tailcall.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13826.38456.patch
Type: text/x-patch
Size: 6772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151026/c926babb/attachment.bin>
More information about the llvm-commits
mailing list