[msan] Workaround for invalid origins in shufflevector.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 9 Jun 2014 14:29:34 +0000 (14:29 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 9 Jun 2014 14:29:34 +0000 (14:29 +0000)
commit70d1b0a8188dadaf3736d3ada784c4fb983ebe63
treee34b264e899e42ffe79f8732ed59da068800f1ea
parent0ecb6e77f3abc68c8c3a542dad317e94dc8db9ce
[msan] Workaround for invalid origins in shufflevector.

Makes origin propagation ignore literal undef operands, and,
in general, any operand we don't have origin for.

https://code.google.com/p/memory-sanitizer/issues/detail?id=56

llvm-svn: 210472
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/test/Instrumentation/MemorySanitizer/missing_origin.ll [new file with mode: 0644]