[clang] [llvm] [RISCV][LLVM] Enable atomics for 'Zalrsc' (PR #163672)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 16 08:50:52 PDT 2025
================
@@ -429,7 +429,20 @@ SDValue DAGTypeLegalizer::PromoteIntRes_Atomic0(AtomicSDNode *N) {
}
SDValue DAGTypeLegalizer::PromoteIntRes_Atomic1(AtomicSDNode *N) {
- SDValue Op2 = GetPromotedInteger(N->getOperand(2));
+ SDValue Op2 = N->getOperand(2);
+ switch(TLI.getExtendForAtomicRMWArg(N->getOpcode())) {
----------------
topperc wrote:
Space after `switch`.
https://github.com/llvm/llvm-project/pull/163672
More information about the cfe-commits
mailing list