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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 02:19:38 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"
----------------
fhahn wrote:

Is there a benefit from having a separate `StructWideningUtils.h` instead of inlining it here?

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


More information about the llvm-commits mailing list