[all-commits] [llvm/llvm-project] efc8f3: [msan] Set cmpxchg shadow precisely
Z via All-commits
all-commits at lists.llvm.org
Fri Feb 19 12:24:16 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: efc8f3311b57ce438500d8a0908e6c7cf6c9f551
https://github.com/llvm/llvm-project/commit/efc8f3311b57ce438500d8a0908e6c7cf6c9f551
Author: Jianzhou Zhao <jianzhouzh at google.com>
Date: 2021-02-19 (Fri, 19 Feb 2021)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/atomics.ll
Log Message:
-----------
[msan] Set cmpxchg shadow precisely
In terms of https://llvm.org/docs/LangRef.html#cmpxchg-instruction,
the return type of chmpxchg is a pair {ty, i1}, while I think we
only wanted to set the shadow for the address 0th op, and it has type
ty.
Reviewed-by: eugenis
Differential Revision: https://reviews.llvm.org/D97029
More information about the All-commits
mailing list