aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2022-01-09 22:16:05 +0800
committerKito Cheng <kito.cheng@sifive.com>2022-01-17 15:27:54 +0800
commitcc35161dc716ab5b0e66b15ac320ebd451a2bc44 (patch)
tree4c9ec9a62d05bf99dab90697607653748ef38885 /lldb/source/Plugins/ScriptInterpreter/Python
parentd771cf277565f579aba24fef522355f4406323c9 (diff)
downloadllvm-cc35161dc716ab5b0e66b15ac320ebd451a2bc44.zip
llvm-cc35161dc716ab5b0e66b15ac320ebd451a2bc44.tar.gz
llvm-cc35161dc716ab5b0e66b15ac320ebd451a2bc44.tar.bz2
[RISCV] Add initial support for getRegUsageForType and getNumberOfRegisters
Those two TTI hooks are used during vectorization for calculating register pressure, the default implementation isn't consider for LMUL, and that's also definitly wrong value for register number (all register class are 8 registers). So in this patch we tried to: 1. Calculate right register usage for vector type and scalar type. 2. Return right number of register for general purpose register and vector register. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D116890
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions