HomePhabricator

[MSan] Don't emit __msan_instrument_asm_load() calls

Description

[MSan] Don't emit __msan_instrument_asm_load() calls

LLVM treats void* pointers passed to assembly routines as pointers to
sized types.
We used to emit calls to __msan_instrument_asm_load() for every such
void*, which sometimes led to false positives.
A less error-prone (and truly "conservative") approach is to unpoison
only assembly output arguments.

Details

Committed
gliderDec 20 2018, 2:05 AM
Parents
rL349733: Revert r349731 "[CodeGen][ExpandMemcmp] Add an option for allowing overlapping…
Branches
Unknown
Tags
Unknown