aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/VFABIDemangling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Analysis/VFABIDemangling.cpp')
-rw-r--r--llvm/lib/Analysis/VFABIDemangling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/VFABIDemangling.cpp b/llvm/lib/Analysis/VFABIDemangling.cpp
index faa46537ad17..8a34a34eb307 100644
--- a/llvm/lib/Analysis/VFABIDemangling.cpp
+++ b/llvm/lib/Analysis/VFABIDemangling.cpp
@@ -454,7 +454,7 @@ Optional<VFInfo> VFABI::tryDemangleForVFABI(StringRef MangledName,
if (!M.getFunction(VectorName))
return None;
- const VFShape Shape({VF, IsScalable, Parameters});
+ const VFShape Shape({ElementCount::get(VF, IsScalable), Parameters});
return VFInfo({Shape, std::string(ScalarName), std::string(VectorName), ISA});
}