Verify that calling conventions match function prototype.
authorTorok Edwin <edwintorok@gmail.com>
Fri, 22 May 2009 06:41:43 +0000 (06:41 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Fri, 22 May 2009 06:41:43 +0000 (06:41 +0000)
commit9107c546939d02455283214818359c17b3875051
tree8a078c880c88e5a08dc99cb8904b6df94a927b00
parentf7cca7b8f8c53a7ede05917fc603d29e133e1720
Verify that calling conventions match function prototype.
This only rejects mismatches between target specific calling convention
and C/LLVM specific calling convention.
There are too many fastcc/C, coldcc/cc42 mismatches in the testsuite, these are
not reject by the verifier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72248 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Verifier.cpp
test/Assembler/2009-05-22-CC.ll [new file with mode: 0644]
test/Verifier/2009-05-22-CC.ll [new file with mode: 0644]