[PATCH] D90465: [VE] Add +vpu attribute
Kazushi Marukawa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 30 22:20:24 PDT 2020
kaz7 added inline comments.
================
Comment at: llvm/lib/Target/VE/VETargetTransformInfo.h:43
- unsigned getNumberOfRegisters(unsigned ClassID) const { return 64; }
+ unsigned getNumberOfRegisters(unsigned ClassID) const {
+ bool VectorRegs = (ClassID == 1);
----------------
Modifications after this line look like duplicated from https://reviews.llvm.org/D90462. Otherwise, LGTM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90465/new/
https://reviews.llvm.org/D90465
More information about the llvm-commits
mailing list