mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Remove the check for invalid calling conventions. Testing shows that they're
working just fine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116698 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
fa87d66752
commit
4cf34c6c04
1 file changed
+1
-4
@@ -1518,11 +1518,8 @@ bool ARMFastISel::SelectCall(const Instruction *I) {
|
||||
// Check the calling convention.
|
||||
ImmutableCallSite CS(CI);
|
||||
CallingConv::ID CC = CS.getCallingConv();
|
||||
|
||||
// TODO: Avoid some calling conventions?
|
||||
if (CC != CallingConv::C) {
|
||||
// errs() << "Can't handle calling convention: " << CC << "\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
// Let SDISel handle vararg functions.
|
||||
const PointerType *PT = cast<PointerType>(CS.getCalledValue()->getType());
|
||||
|
||||
Reference in new issue
Block a user