[all-commits] [llvm/llvm-project] bded88: [clang][AArch64] Fix C++11 style initialization of...
Benjamin Maxwell via All-commits
all-commits at lists.llvm.org
Fri Dec 6 09:28:07 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bded8890149e55b9abc9c32cb4a9c883c3daad91
https://github.com/llvm/llvm-project/commit/bded8890149e55b9abc9c32cb4a9c883c3daad91
Author: Benjamin Maxwell <macdue at dueutil.tech>
Date: 2024-12-06 (Fri, 06 Dec 2024)
Changed paths:
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/test/CodeGenCXX/aarch64-sve-vector-init.cpp
Log Message:
-----------
[clang][AArch64] Fix C++11 style initialization of typedef'd vectors (#118956)
Previously, this hit an `llvm_unreachable()` assertion as the type of
`vec_t` did not exactly match `__SVInt8_t`, as it was wrapped in a
typedef.
Comparing the canonical types instead allows the types to match
correctly and avoids the crash.
Fixes #107609
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list