[PATCH] D41798: [LegalizeDAG] Fix ATOMIC_CMP_SWAP_WITH_SUCCESS legalization.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 5 17:36:47 PST 2018
efriedma created this revision.
efriedma added reviewers: t.p.northover, sdardis, hfinkel.
Herald added a subscriber: javed.absar.
The code wasn't zero-extending correctly, so the comparison could spuriously fail.
Inspired by https://reviews.llvm.org/D41791.
Repository:
rL LLVM
https://reviews.llvm.org/D41798
Files:
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
test/CodeGen/AArch64/atomic-ops-lse.ll
test/CodeGen/ARM/atomic-cmpxchg.ll
test/CodeGen/ARM/cmpxchg-O0.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41798.128831.patch
Type: text/x-patch
Size: 4728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180106/a0499394/attachment.bin>
More information about the llvm-commits
mailing list