64-bit gather/scatter, aligned load/store, i8 support

This commit is contained in:
Ingo Wald
2012-09-17 03:39:02 +02:00
parent 230a7b7374
commit d492af7bc0
3 changed files with 251 additions and 7 deletions

View File

@@ -1538,6 +1538,13 @@ Module::writeHostStub(const char *fn)
const FunctionType *fct = CastType<FunctionType>(sym->type);
Assert(fct);
if (!fct->GetReturnType()->IsVoidType()) {
Warning(sym->pos,"When emitting offload-stubs, ignoring \"export\"ed function with non-void return types.\n");
continue;
}
// -------------------------------------------------------
// first, emit a struct that holds the parameters
// -------------------------------------------------------