A few more checks for gc.statepoints in the Verifier
authorPhilip Reames <listmail@philipreames.com>
Thu, 4 Dec 2014 00:01:48 +0000 (00:01 +0000)
committerPhilip Reames <listmail@philipreames.com>
Thu, 4 Dec 2014 00:01:48 +0000 (00:01 +0000)
commit5862c2af3ed76e13fbd401e99b50fbc45caaba80
tree6705a87f78a72e44471615dc6922ea30e7e607ef
parentfbcb697a0015f338cf61a27f0ae094cb5b4305e0
A few more checks for gc.statepoints in the Verifier

This is simply a grab bag of unrelated checks:
- A statepoint call can't be marked readonly or readnone
- We don't currently support inline asm or varadic target functions.  Both could be supported, but don't currently work.
- I forgot to check that the number of call arguments actually matched the wrapped callee in my previous change.  Included here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223322 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp