[PATCH] D129695: [ARM] Fix Thumb2 compare being emitted ExpandCMP_SWAP
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 13 14:09:18 PDT 2022
dmgreen created this revision.
dmgreen added reviewers: tmatheson, lenary, efriedma.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.
Given a patch like D129506 <https://reviews.llvm.org/D129506>, using instructions not valid for the current target feature set becomes an error. This fixes an issue in ARMExpandPseudo::ExpandCMP_SWAP where Thumb2 compares were used in Thumb1Only code, such as thumbv8m.baseline targets.
https://reviews.llvm.org/D129695
Files:
llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
llvm/test/CodeGen/ARM/atomicrmw_exclusive_monitor_ints.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129695.444416.patch
Type: text/x-patch
Size: 16063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220713/ac183740/attachment.bin>
More information about the llvm-commits
mailing list