[all-commits] [llvm/llvm-project] 5184dc: [Clang][X86] Change X86 cast intrinsics to use __b...
ManuelJBrito via All-commits
all-commits at lists.llvm.org
Mon Apr 17 04:59:31 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5184dc2d7cce5971f4386c6f99d04f87233dd313
https://github.com/llvm/llvm-project/commit/5184dc2d7cce5971f4386c6f99d04f87233dd313
Author: ManuelJBrito <manuel.brito at tecnico.ulisboa.pt>
Date: 2023-04-17 (Mon, 17 Apr 2023)
Changed paths:
M clang/lib/Headers/avx512fintrin.h
M clang/lib/Headers/avx512fp16intrin.h
M clang/lib/Headers/avxintrin.h
M clang/test/CodeGen/X86/avx-builtins.c
A clang/test/CodeGen/X86/avx-cast-builtins.c
M clang/test/CodeGen/X86/avx512f-builtins.c
M clang/test/CodeGen/X86/avx512fp16-builtins.c
Log Message:
-----------
[Clang][X86] Change X86 cast intrinsics to use __builtin_nondeterministic_value
The following intrinsics are currently implemented using a shufflevector with
an undefined mask, this is however incorrect according to intel's semantics for
undefined value which expect an unknown but consistent value.
With __builtin_nondeterministic_value we can now match intel's undefined value.
Differential Revision: https://reviews.llvm.org/D143287
More information about the All-commits
mailing list