diff options
author | Jianzhou Zhao <jianzhouzh@google.com> | 2021-02-19 04:37:49 +0000 |
---|---|---|
committer | Jianzhou Zhao <jianzhouzh@google.com> | 2021-02-19 20:23:23 +0000 |
commit | efc8f3311b57ce438500d8a0908e6c7cf6c9f551 (patch) | |
tree | 5fd0a1beb555651844175c1d07df1ded02d61e67 /llvm/lib/IR/ConstantFold.cpp | |
parent | 5de47ebff6d763a1ee7030252227a64a6dcce521 (diff) | |
download | llvm-efc8f3311b57ce438500d8a0908e6c7cf6c9f551.zip llvm-efc8f3311b57ce438500d8a0908e6c7cf6c9f551.tar.gz llvm-efc8f3311b57ce438500d8a0908e6c7cf6c9f551.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/IR/ConstantFold.cpp')
0 files changed, 0 insertions, 0 deletions