summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaOpenMP.cpp
diff options
context:
space:
mode:
authorGeoff Berry <gberry@codeaurora.org>2017-08-28 19:03:45 +0000
committerGeoff Berry <gberry@codeaurora.org>2017-08-28 19:03:45 +0000
commit75c4ae30663f682b5dabfdb2b5259846c88a7a8b (patch)
tree8d1978db671ea2247b6c0e1ab7c923dc3fa8e849 /clang/lib/Sema/SemaOpenMP.cpp
parent572f45a3c857dfbacd16d792176435331d1825ac (diff)
downloadbcm5719-llvm-75c4ae30663f682b5dabfdb2b5259846c88a7a8b.tar.gz
bcm5719-llvm-75c4ae30663f682b5dabfdb2b5259846c88a7a8b.zip
[ARM] Fix bug in ARMLoadStoreOptimizer when kill flags are missing.
Summary: ARMLoadStoreOpt::FixInvalidRegPairOp() was only checking if one of the load destination registers to be split overlapped with the base register if the base register was marked as killed. Since kill flags may not always be present, this can lead to incorrect code. This bug was exposed by my MachineCopyPropagation change D30751 breaking the sanitizer-x86_64-linux-android buildbot. Also clean up some dead code and add an assert that a register offset is never encountered by this code, since it does not handle them correctly. Reviewers: MatzeB, qcolombet, t.p.northover Subscribers: aemerson, javed.absar, kristof.beyls, mcrosier, llvm-commits Differential Revision: https://reviews.llvm.org/D37164 llvm-svn: 311907
Diffstat (limited to 'clang/lib/Sema/SemaOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud