Files
clang-p2996/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp
wanglei 1e9924c1f2 [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.
2024-01-26 10:24:07 +08:00

1.6 KiB