Skip to content

Commit 096ed92

Browse files
committed
Fix type error
1 parent 69ed663 commit 096ed92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/include/llvm/IR/VFABIDemangler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ enum class VFParamKind {
4444
enum class VFISAKind {
4545
AdvancedSIMD, // AArch64 Advanced SIMD (NEON)
4646
SVE, // AArch64 Scalable Vector Extension
47-
RVV, // RISC-V Scalable Vector Extension
47+
RVV, // RISC-V Vector Extension
4848
SSE, // x86 SSE
4949
AVX, // x86 AVX
5050
AVX2, // x86 AVX2

llvm/lib/Analysis/TargetLibraryInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ static const VecDesc VecFuncs_SLEEFGNUABI_VFScalable[] = {
13241324
#undef TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS
13251325
};
13261326

1327-
static const VecDesc VecFuncs_SKEEFGNUABI_VFScalableRISCV[] = {
1327+
static const VecDesc VecFuncs_SLEEFGNUABI_VFScalableRISCV[] = {
13281328
#define TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS_RISCV
13291329
#define TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX) \
13301330
{SCAL, VEC, VF, MASK, VABI_PREFIX},
@@ -1382,7 +1382,7 @@ void TargetLibraryInfoImpl::addVectorizableFunctionsFromVecLib(
13821382
addVectorizableFunctions(VecFuncs_SLEEFGNUABI_VFScalable);
13831383
break;
13841384
case llvm::Triple::riscv64:
1385-
addVectorizableFunctions(VecFuncs_SKEEFGNUABI_VFScalableRISCV);
1385+
addVectorizableFunctions(VecFuncs_SLEEFGNUABI_VFScalableRISCV);
13861386
break;
13871387
}
13881388
break;

0 commit comments

Comments
 (0)