[PATCH] D113798: Add loop unrolling and peeling preferences for RISCV
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 17 17:47:21 PST 2021
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:175
+ bool UseDefaultPreferences = true;
+ if (ST->getCPU().contains("sifive-e76") ||
+ ST->getCPU().contains("sifive-s76") ||
----------------
I think this should use `getTuneCPU` not `getCPU`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113798/new/
https://reviews.llvm.org/D113798
More information about the llvm-commits
mailing list