[PATCH] D63433: [RISCV] Add RISCV-specific TargetTransformInfo
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 18 02:27:01 PDT 2019
luismarques added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:29
+int RISCVTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) {
+ assert(Ty->isIntegerTy());
+
----------------
You can add an assert message. E.g. `assert(foo && "some message")`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63433/new/
https://reviews.llvm.org/D63433
More information about the llvm-commits
mailing list