summaryrefslogtreecommitdiffstats
path: root/llvm/utils/git-svn
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-11-07 19:10:13 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-11-07 19:10:13 +0000
commit19679f97ed7c713b914c9d9dc242d215236993c3 (patch)
tree001c1c33802dcd84d0d5c61cc4ef6f81a4488db4 /llvm/utils/git-svn
parent44e875ad5b2ce26826dd53f9e7d1a71436c86212 (diff)
downloadbcm5719-llvm-19679f97ed7c713b914c9d9dc242d215236993c3.tar.gz
bcm5719-llvm-19679f97ed7c713b914c9d9dc242d215236993c3.zip
[tsan] Cast floating-point types correctly when instrumenting atomic accesses, compiler-rt part
Although rare, atomic accesses to floating-point types seem to be valid, i.e. `%a = load atomic float ...`. The TSan instrumentation pass however tries to emit inttoptr, which is incorrect, we should use a bitcast here. Anyway, IRBuilder already has a convenient helper function for this. Differential Revision: https://reviews.llvm.org/D26266 llvm-svn: 286136
Diffstat (limited to 'llvm/utils/git-svn')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud