[PATCH] D82920: [MSAN] Implement experiemental vector reduction intrinsics

Gui Andrade via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 16:18:42 PDT 2020


guiand created this revision.
guiand added reviewers: eugenis, vitalybuka.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Implement llvm.experiemental.vector.{add,mul,or,and,...}.
An IR test is included but no C test for lack of good way to
get the compiler to emit these.

These vectorized shadow operations for the and/or case
were shown mathematically to be equivalent to the binary
operations already present in MSAN.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82920

Files:
  llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
  llvm/test/Instrumentation/MemorySanitizer/experimental-reduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82920.274630.patch
Type: text/x-patch
Size: 6767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200630/8fda8454/attachment-0001.bin>


More information about the llvm-commits mailing list