[llvm] [VFABI] Add support for vector functions that return struct types (PR #119000)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 03:36:35 PST 2024


================
@@ -0,0 +1,74 @@
+//===----------- VectorUtils.h - Vector type utility functions -*- C++ -*-====//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_IR_VECTORUTILS_H
+#define LLVM_IR_VECTORUTILS_H
+
+#include "llvm/IR/DerivedTypes.h"
+#include "llvm/IR/StructWideningUtils.h"
----------------
MacDue wrote:

I don't have have much of a preference here, I think I originally just placed everything in `VectorUtils.{h|cpp}`, before splitting the structs to `CallWideningUtils.h` (now `StructWideningUtils.h`). 

As long as everyone is okay with the final placement I'm okay with either way :slightly_smiling_face: 

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


More information about the llvm-commits mailing list