[clang] [Clang] Freeze padded vectors before storing. (PR #164821)
Florian Hahn via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 27 20:29:51 PDT 2025
================
@@ -0,0 +1,42 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 6
+// RUN: %clang_cc1 -fenable-matrix -triple arm64-apple-macosx %s -emit-llvm -disable-llvm-passes -o - | FileCheck %s
+
+typedef float float3 __attribute__((ext_vector_type(3)));
+struct Vec3 {
+ union {
+ struct {
+ float x;
+ float y;
+ float z;
+ };
+ float vec __attribute__((ext_vector_type(3)));
----------------
fhahn wrote:
Should be fixed, thanks
https://github.com/llvm/llvm-project/pull/164821
More information about the cfe-commits
mailing list