[all-commits] [llvm/llvm-project] 4704da: [ARM] Fix Thumb2 compare being emitted ExpandCMP_SWAP
David Green via All-commits
all-commits at lists.llvm.org
Wed Jul 20 04:04:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4704da1374964c0634d7e17c9f87923666d57396
https://github.com/llvm/llvm-project/commit/4704da1374964c0634d7e17c9f87923666d57396
Author: David Green <david.green at arm.com>
Date: 2022-07-20 (Wed, 20 Jul 2022)
Changed paths:
M llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMInstrThumb.td
M llvm/test/CodeGen/ARM/atomicrmw_exclusive_monitor_ints.ll
M llvm/test/CodeGen/ARM/cmpxchg.mir
A llvm/test/CodeGen/Thumb2/cmpxchg.mir
Log Message:
-----------
[ARM] Fix Thumb2 compare being emitted ExpandCMP_SWAP
Given a patch like 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.
Differential Revision: https://reviews.llvm.org/D129695
More information about the All-commits
mailing list