[PATCH] D104790: [x86] fix mm*_undefined* intrinsics to use arbitrary frozen bit pattern

Juneyoung Lee via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 23 09:03:25 PDT 2021


aqjune created this revision.
aqjune added reviewers: efriedma, spatel, craig.topper, RKSimon.
Herald added a subscriber: pengfei.
aqjune requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This fixes lowering of `mm*_undefined*` intrinsics to use `freeze poison` instead of zeroinitializer.
(mentioned & discussed in D103874 <https://reviews.llvm.org/D103874>)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104790

Files:
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/X86/avx-builtins.c
  clang/test/CodeGen/X86/avx2-builtins.c
  clang/test/CodeGen/X86/avx512f-builtins.c
  clang/test/CodeGen/X86/sse-builtins.c
  clang/test/CodeGen/X86/sse2-builtins.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104790.353999.patch
Type: text/x-patch
Size: 13294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210623/b429f0b7/attachment.bin>


More information about the cfe-commits mailing list