[PATCH] Add explicit Win64 and System V calling conventions to the x86_64 backend
Anton Korobeynikov
anton at korobeynikov.info
Tue Apr 30 13:39:13 PDT 2013
================
Comment at: lib/Target/X86/X86FastISel.cpp:724
@@ -722,3 +723,3 @@
- if (Subtarget->isTargetWin64())
+ if (Subtarget->isTargetWin64() && CC != CallingConv::X86_64_C)
return false;
----------------
Maybe we can introduce the notion of "native" CC given a subtarget and make use of checks here?
http://llvm-reviews.chandlerc.com/D729
More information about the llvm-commits
mailing list