[PATCH] D25334: Implement __stosb intrinsic as a volatile memset
David Majnemer via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 13 16:41:33 PDT 2016
majnemer added inline comments.
================
Comment at: lib/CodeGen/CGBuiltin.cpp:7777
+ Address Dest = EmitPointerWithAlignment(E->getArg(0));
+ return Builder.CreateMemSet(Dest, Ops[1], Ops[2], true);
}
----------------
I think we should manually force the alignment to 1 instead of trying to be clever.
https://reviews.llvm.org/D25334
More information about the cfe-commits
mailing list