[PATCH] D63007: [RISCV] Add RISCV-specific TargetTransformInfo
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 7 23:45:54 PDT 2019
asb added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:17
+
+int RISCVTTIImpl::getIntImmCost(int64_t Val) {
+ if (Val == 0)
----------------
Don't you want to implement this in terms of getIntMatCost, as you introduced in D62857?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63007/new/
https://reviews.llvm.org/D63007
More information about the llvm-commits
mailing list