diff options
| author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-11-07 19:10:13 +0000 |
|---|---|---|
| committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-11-07 19:10:13 +0000 |
| commit | 19679f97ed7c713b914c9d9dc242d215236993c3 (patch) | |
| tree | 001c1c33802dcd84d0d5c61cc4ef6f81a4488db4 /llvm/utils/git-svn | |
| parent | 44e875ad5b2ce26826dd53f9e7d1a71436c86212 (diff) | |
| download | bcm5719-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

