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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 01:10:04 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:

IMO it would be good to keep things together in a single header given they are both quite small at the moment and I don't think we anticipate any users including just `StructWideningUtils.h` but not `VectorUtils.h`

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


More information about the llvm-commits mailing list