[llvm] [IR] allow vector atomicrmw xchg (PR #208510)
Antonio Frighetto via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 10:48:12 PDT 2026
================
@@ -9222,12 +9222,14 @@ int LLParser::parseAtomicRMW(Instruction *&Inst, PerFunctionState &PFS) {
}
if (Operation == AtomicRMWInst::Xchg) {
- if (!ScalarTy->isIntegerTy() && !ScalarTy->isFloatingPointTy() &&
- !ScalarTy->isPointerTy()) {
+ if (!ScalarTy->isIntOrIntVectorTy() && !ScalarTy->isFPOrFPVectorTy() &&
----------------
antoniofrighetto wrote:
ScalarTy can be now a fixed vector for the non‑elementwise path?
https://github.com/llvm/llvm-project/pull/208510
More information about the llvm-commits
mailing list