diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2018-01-17 22:04:36 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2018-01-17 22:04:36 +0000 |
commit | c60a23a6af421dfd43c10a898d65819317523e31 (patch) | |
tree | 78a40fe78367422725b03b2378d4e432842b090b /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | a75d53c83f8afbfc107da37774a13908e8718276 (diff) | |
download | bcm5719-llvm-c60a23a6af421dfd43c10a898d65819317523e31.tar.gz bcm5719-llvm-c60a23a6af421dfd43c10a898d65819317523e31.zip |
[LegalizeDAG] Fix ATOMIC_CMP_SWAP_WITH_SUCCESS legalization.
The code wasn't zero-extending correctly, so the comparison could
spuriously fail.
Adds some AArch64 tests to cover this case.
Inspired by D41791.
Differential Revision: https://reviews.llvm.org/D41798
llvm-svn: 322767
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
0 files changed, 0 insertions, 0 deletions