https://github.com/halide/Halide
Raw File
Tip revision: 131498dbc388411fca6f6bab0d7817ea744db9e9 authored by Steven Johnson on 07 January 2020, 23:04:49 UTC
Merge branch 'master' into srj-hvx-nocopy
Tip revision: 131498d
CodeGen_RISCV.cpp
#include "CodeGen_RISCV.h"
#include "LLVM_Headers.h"
#include "Util.h"

namespace Halide {
namespace Internal {

using std::string;

using namespace llvm;

CodeGen_RISCV::CodeGen_RISCV(Target t)
    : CodeGen_Posix(t) {
#if !defined(WITH_RISCV)
    user_error << "llvm build not configured with RISCV target enabled.\n";
#endif
}

string CodeGen_RISCV::mcpu() const {
    return "";
}

string CodeGen_RISCV::mattrs() const {
    return "";
}

bool CodeGen_RISCV::use_soft_float_abi() const {
    return false;
}

int CodeGen_RISCV::native_vector_bits() const {
    return 128;
}

}  // namespace Internal
}  // namespace Halide
back to top