[all-commits] [llvm/llvm-project] 1e7763: [LoongArch] Add support for getNumberOfRegisters()...
wanglei via All-commits
all-commits at lists.llvm.org
Fri Apr 12 02:23:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e7763557bbace002b6bb811167942ebebf50f99
https://github.com/llvm/llvm-project/commit/1e7763557bbace002b6bb811167942ebebf50f99
Author: wanglei <wanglei at loongson.cn>
Date: 2024-04-12 (Fri, 12 Apr 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp
M llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.h
A llvm/test/Transforms/LoopVectorize/LoongArch/reg-usage.ll
Log Message:
-----------
[LoongArch] Add support for getNumberOfRegisters() (#88372)
The `TTI` hooks are used during vectorization for calculating register
pressure. The default implementation defined wrong value for register
number (all register class are 8 registers).
This patch also defines LoongArch's own register classes.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list