rampitec added inline comments.
================ Comment at: clang/lib/CodeGen/CGBuiltin.cpp:16270 + llvm::Function *F = CGM.getIntrinsic(IID, {ArgTy}); + return Builder.CreateCall(F, {Addr, Val, ZeroI32, ZeroI32, ZeroI1}); + } ---------------- gandhi21299 wrote: > rampitec wrote: > > gandhi21299 wrote: > > > rampitec wrote: > > > > Should we map flags since we already have them? > > > Do you mean the memory order flag? > > All 3: ordering, scope and volatile. > Following the discussion, what change is required here? Keep zeroes, drop immediate argument of the builtins. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D106909/new/ https://reviews.llvm.org/D106909 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits