[llvm] [VFABI] Improve VFABI unit tests (PR #73907)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 09:01:49 PST 2023


================
@@ -96,22 +96,23 @@ struct VFShape {
 
   // Retrieve the VFShape that can be used to map a (scalar) function to itself,
   // with VF = 1.
-  static VFShape getScalarShape(const CallInst &CI) {
-    return VFShape::get(CI, ElementCount::getFixed(1),
+  static VFShape getScalarShape(const FunctionType *FTy) {
----------------
paulwalker-arm wrote:

I think it's perhaps worth breaking this (CallInst -> FunctionType) refactoring into a separate NFCish patch?

https://github.com/llvm/llvm-project/pull/73907


More information about the llvm-commits mailing list