[msan] Use explicitely aligned stores and loads with function argument shadow.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 11 Dec 2012 12:34:09 +0000 (12:34 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 11 Dec 2012 12:34:09 +0000 (12:34 +0000)
commit7fa22404855e996efb1963b9152505c9e1f27fd5
tree3fefc357195b6491ff2cff85cada73b09703217f
parent34525f9ac098c1c6bc9002886d6da3039a284fd2
[msan] Use explicitely aligned stores and loads with function argument shadow.

Use explicitely aligned store and load instructions to deal with argument and
retval shadow. This matters when an argument's alignment is higher than
__msan_param_tls alignment (which is the case with __m128i).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169859 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/MemorySanitizer.cpp