[all-commits] [llvm/llvm-project] 900e7c: [LoongArch] Fixing the incorrect return value of L...
wanglei via All-commits
all-commits at lists.llvm.org
Sat Feb 3 21:29:38 PST 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: 900e7cbfdee09c94d022e4dae923b3c7827f95e3
https://github.com/llvm/llvm-project/commit/900e7cbfdee09c94d022e4dae923b3c7827f95e3
Author: wanglei <wanglei at loongson.cn>
Date: 2024-02-03 (Sat, 03 Feb 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp
Log Message:
-----------
[LoongArch] Fixing the incorrect return value of LoongArchTTIImpl::getRegisterBitWidth (#79441)
When we do not enable vector features, we should return the default
value (`TargetTransformInfoImplBase::getRegisterBitWidth`) instead of
zero.
This should fix the LoongArch [buildbot
breakage](https://lab.llvm.org/staging/#/builders/5/builds/486) from
#78943.
(cherry picked from commit 1e9924c1f248bbddcb95d82a59708d617297dad3)
More information about the All-commits
mailing list