================
@@ -2017,6 +2018,9 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned
BuiltinID,
Builder.CreateAtomicRMW(BinOp, Ptr, Val, AO, SSID);
if (Volatile)
RMW->setVolatile(true);
+ if (!AMDGCNAVMode.empty()) {
----------------
ssahasra wrote:Fixed this and the rest. https://github.com/llvm/llvm-project/pull/199622 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
