aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ConstantFold.cpp
diff options
context:
space:
mode:
authorJianzhou Zhao <jianzhouzh@google.com>2021-02-19 04:37:49 +0000
committerJianzhou Zhao <jianzhouzh@google.com>2021-02-19 20:23:23 +0000
commitefc8f3311b57ce438500d8a0908e6c7cf6c9f551 (patch)
tree5fd0a1beb555651844175c1d07df1ded02d61e67 /llvm/lib/IR/ConstantFold.cpp
parent5de47ebff6d763a1ee7030252227a64a6dcce521 (diff)
downloadllvm-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