[all-commits] [llvm/llvm-project] 31fc40: [clang][X86] Emit AVX level mismatch psABI warning...
Benjamin Luke via All-commits
all-commits at lists.llvm.org
Tue Jul 7 08:17:18 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 31fc40b0904861d33b926dfd6ea04432e7690c49
https://github.com/llvm/llvm-project/commit/31fc40b0904861d33b926dfd6ea04432e7690c49
Author: Benjamin Luke <benjamin.luke at sony.com>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
M clang/docs/ReleaseNotes.md
M clang/lib/CodeGen/Targets/X86.cpp
M clang/test/CodeGen/X86/mmx-inline-asm-error.c
A clang/test/CodeGen/target-avx-abi-diag-knr.c
M clang/test/CodeGen/target-builtin-error-3.c
M clang/test/CodeGen/target-features-error-2.c
A clang/test/CodeGenCXX/target-avx-abi-diag.cpp
M libcxx/include/__algorithm/simd_utils.h
Log Message:
-----------
[clang][X86] Emit AVX level mismatch psABI warnings on function definitions (#199091)
Emit -WpsABI for x86_64 function definitions whose return type or
parameter type uses a vector wider than 128 bits without the required
ABI feature enabled. 256-bit vectors require avx, and 512-bit vectors
require avx512f.
Previously this diagnostic was only emitted at call sites, so
definitions with wide vector signatures could be introduced without a
warning until they were called. Use the function feature map so
attribute(target("avx/avx512f")) definitions are accepted, and emit no
warnings for prototype-only declarations.
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