================ @@ -4466,7 +4473,8 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID, Value *SizeVal = EmitScalarExpr(E->getArg(2)); EmitNonNullArgCheck(Dest, E->getArg(0)->getType(), E->getArg(0)->getExprLoc(), FD, 0); - Builder.CreateMemSet(Dest, ByteVal, SizeVal, false); + auto *I = Builder.CreateMemSet(Dest, ByteVal, SizeVal, false); ---------------- SLTozer wrote:
One last question, for this (and possibly other memsets) is it possible that the src argument is an instruction, and if so should it be get a rank 2 location? https://github.com/llvm/llvm-project/pull/134651 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits