[llvm-commits] [llvm] r116698 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Eric Christopher
echristo at apple.com
Sun Oct 17 23:49:12 PDT 2010
Author: echristo
Date: Mon Oct 18 01:49:12 2010
New Revision: 116698
URL: http://llvm.org/viewvc/llvm-project?rev=116698&view=rev
Log:
Remove the check for invalid calling conventions. Testing shows that they're
working just fine.
Modified:
llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp?rev=116698&r1=116697&r2=116698&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Mon Oct 18 01:49:12 2010
@@ -1518,11 +1518,8 @@
// 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());
More information about the llvm-commits
mailing list