aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
diff options
context:
space:
mode:
authorwanglei <wanglei@loongson.cn>2024-01-26 10:24:07 +0800
committerGitHub <noreply@github.com>2024-01-26 10:24:07 +0800
commit1e9924c1f248bbddcb95d82a59708d617297dad3 (patch)
treeccfd91673cbe0dc9d715d985b708a6cfdf157854 /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
parente6bafbe72623b3f6fd974bd7f59f38c59f1e9df3 (diff)
downloadllvm-1e9924c1f248bbddcb95d82a59708d617297dad3.zip
llvm-1e9924c1f248bbddcb95d82a59708d617297dad3.tar.gz
llvm-1e9924c1f248bbddcb95d82a59708d617297dad3.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions