Neat idea in LLVM: adding a pass to ensure that generated code actually respects the requested calling convention: https://lists.llvm.org/pipermail/llvm-dev/2016-May/099693.html