[all-commits] [llvm/llvm-project] a3d2d3: [Clang] Use poison as base for vector literals
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Dec 19 02:53:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a3d2d34e844ac3b9186d9ebc7696b48e717ecb76
https://github.com/llvm/llvm-project/commit/a3d2d34e844ac3b9186d9ebc7696b48e717ecb76
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths:
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/test/CodeGen/PowerPC/ppc-emmintrin.c
M clang/test/CodeGen/PowerPC/ppc-xmmintrin.c
M clang/test/CodeGen/X86/avx-builtins.c
M clang/test/CodeGen/X86/avx512bw-builtins.c
M clang/test/CodeGen/X86/avx512cd-builtins.c
M clang/test/CodeGen/X86/avx512f-builtins.c
M clang/test/CodeGen/X86/avx512fp16-builtins.c
M clang/test/CodeGen/X86/avx512vl-builtins.c
M clang/test/CodeGen/X86/avx512vlbw-builtins.c
M clang/test/CodeGen/X86/avx512vlcd-builtins.c
M clang/test/CodeGen/X86/f16c-builtins-constrained.c
M clang/test/CodeGen/X86/f16c-builtins.c
M clang/test/CodeGen/X86/sse-builtins.c
M clang/test/CodeGen/X86/sse2-builtins.c
M clang/test/CodeGen/X86/sse3-builtins.c
M clang/test/CodeGen/aarch64-bf16-dotprod-intrinsics.c
M clang/test/CodeGen/aarch64-bf16-getset-intrinsics.c
M clang/test/CodeGen/aarch64-neon-2velem.c
M clang/test/CodeGen/aarch64-neon-fma.c
M clang/test/CodeGen/aarch64-neon-fp16fml.c
M clang/test/CodeGen/aarch64-poly64.c
M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-constrained.c
M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
M clang/test/CodeGen/arm-bf16-dotprod-intrinsics.c
M clang/test/CodeGen/arm-bf16-getset-intrinsics.c
M clang/test/CodeGen/arm-neon-fma.c
M clang/test/CodeGen/arm-v8.2a-neon-intrinsics.c
M clang/test/CodeGen/arm64_vdupq_n_f64.c
M clang/test/CodeGen/arm_neon_intrinsics.c
M clang/test/CodeGenHLSL/builtins/ScalarSwizzles.hlsl
M clang/test/CodeGenOpenCL/partial_initializer.cl
M clang/test/CodeGenOpenCL/vector_literals.cl
M clang/test/CodeGenOpenCL/vector_shufflevector.cl
M clang/test/Headers/wasm.c
Log Message:
-----------
[Clang] Use poison as base for vector literals
When constructing vectors from elements, use poison instead of
undef as the base value. These literals always initialize all
elements (padding the remainder with zero), so that the choice
of base value does not affect semantics.
More information about the All-commits
mailing list