================ @@ -531,6 +531,12 @@ static void EmitAtomicOp(CodeGenFunction &CGF, AtomicExpr *E, Address Dest, bool PostOpMinMax = false; unsigned PostOp = 0; + auto IsFloat = E->getValueType()->isVectorType() + ? E->getValueType() + ->castAs<VectorType>() + ->getElementType() + ->isFloatingType() + : E->getValueType()->isFloatingType(); ---------------- vikramRH wrote:
added a new helper , which also handles complex type rejection now.. https://github.com/llvm/llvm-project/pull/129495 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits