summaryrefslogtreecommitdiffstats
path: root/llvm/test/Instrumentation/ThreadSanitizer/atomic-non-integer.ll
Commit message (Collapse)AuthorAgeFilesLines
* [tsan] Cast floating-point types correctly when instrumenting atomic ↵Kuba Brecka2016-11-071-0/+51
accesses, LLVM 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: 286135
OpenPOWER on IntegriCloud