[MSAN] Implement experimental vector reduction intrinsics
authorGui Andrade <guiand@google.com>
Tue, 30 Jun 2020 22:34:43 +0000 (22:34 +0000)
committerGui Andrade <guiand@google.com>
Tue, 14 Jul 2020 00:12:10 +0000 (00:12 +0000)
commit871251b2b60c8d7b095fe732fd95c65c989337ff
tree69b363ad516a9a0df8012205d4bd271a73f0b725
parent6b109f2f054f6c03156d1e606ea21488b83de6a6
[MSAN] Implement experimental vector reduction intrinsics

Implement llvm.experimental.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.

Differential Revision: https://reviews.llvm.org/D82920
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/test/Instrumentation/MemorySanitizer/experimental-reduce.ll [new file with mode: 0644]