summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-11-07 19:09:56 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-11-07 19:09:56 +0000
commit44e875ad5b2ce26826dd53f9e7d1a71436c86212 (patch)
tree3c8e1a9bd8db587858b8f30033a92cbb913fb139 /llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
parentf530e8b3f09dc89d8b0c9952abdbe7667e65bfcd (diff)
downloadbcm5719-llvm-44e875ad5b2ce26826dd53f9e7d1a71436c86212.tar.gz
bcm5719-llvm-44e875ad5b2ce26826dd53f9e7d1a71436c86212.zip
[tsan] Cast floating-point types correctly when instrumenting atomic 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
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud