[PATCH] D143287: [Clang][X86] Change X86 cast intrinsics to use __builtin_nondeterministic_value

Manuel Brito via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 24 05:11:37 PST 2023


ManuelJBrito updated this revision to Diff 500149.
ManuelJBrito added a comment.

Update tests after D143593 <https://reviews.llvm.org/D143593>.

There are some performance regressions with casts from 128 to 512. The backend inserts vinsertf instructions. So that as to be fixed.
In D130339 <https://reviews.llvm.org/D130339> @RKSimon  mentioned something about custom vector widening patterns that need to be adjusted to handle freeze(undef), any pointers for how a patch for that would look like?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143287/new/

https://reviews.llvm.org/D143287

Files:
  clang/lib/Headers/avx512fintrin.h
  clang/lib/Headers/avx512fp16intrin.h
  clang/lib/Headers/avxintrin.h
  clang/test/CodeGen/X86/avx-builtins.c
  clang/test/CodeGen/X86/avx-cast-builtins.c
  clang/test/CodeGen/X86/avx512f-builtins.c
  clang/test/CodeGen/X86/avx512fp16-builtins.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143287.500149.patch
Type: text/x-patch
Size: 16788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230224/e3aafbe3/attachment.bin>


More information about the cfe-commits mailing list