[auto-tuning] much smaller parameters space

This commit is contained in:
Philippe Tillet
2019-08-09 16:57:18 -07:00
parent fd49cdc92b
commit 1400d960a6
20 changed files with 470 additions and 367 deletions

View File

@@ -12,7 +12,7 @@ namespace ir{
constant *constant::get_null_value(type *ty) {
context &ctx = ty->get_context();
switch (ty->get_type_id()) {
switch (ty->get_scalar_ty()->get_type_id()) {
case type::IntegerTyID:
return constant_int::get(ty, 0);
case type::HalfTyID: