diff options
Diffstat (limited to 'backend/src')
-rw-r--r-- | backend/src/llvm/llvm_gen_backend.cpp | 4 | ||||
-rw-r--r-- | backend/src/llvm/llvm_printf_parser.cpp | 1 | ||||
-rw-r--r-- | backend/src/llvm/llvm_scalarize.cpp | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/backend/src/llvm/llvm_gen_backend.cpp b/backend/src/llvm/llvm_gen_backend.cpp index 4080c58c..813d0d31 100644 --- a/backend/src/llvm/llvm_gen_backend.cpp +++ b/backend/src/llvm/llvm_gen_backend.cpp @@ -2021,9 +2021,11 @@ namespace gbe case CallingConv::PTX_Kernel: #else case CallingConv::C: + case CallingConv::Fast: #endif break; - default: GBE_ASSERTM(false, "Unsupported calling convention"); + default: + GBE_ASSERTM(false, "Unsupported calling convention"); } ctx.startFunction(F.getName()); diff --git a/backend/src/llvm/llvm_printf_parser.cpp b/backend/src/llvm/llvm_printf_parser.cpp index 52da2e50..8e662b37 100644 --- a/backend/src/llvm/llvm_printf_parser.cpp +++ b/backend/src/llvm/llvm_printf_parser.cpp @@ -564,6 +564,7 @@ error: case CallingConv::PTX_Kernel: #else case CallingConv::C: + case CallingConv::Fast: #endif break; default: diff --git a/backend/src/llvm/llvm_scalarize.cpp b/backend/src/llvm/llvm_scalarize.cpp index cf2939dc..860053fa 100644 --- a/backend/src/llvm/llvm_scalarize.cpp +++ b/backend/src/llvm/llvm_scalarize.cpp @@ -764,9 +764,11 @@ namespace gbe { case CallingConv::PTX_Kernel: #else case CallingConv::C: + case CallingConv::Fast: #endif break; - default: GBE_ASSERTM(false, "Unsupported calling convention"); + default: + GBE_ASSERTM(false, "Unsupported calling convention"); } // As we inline all function calls, so skip non-kernel functions |