================
@@ -3333,6 +3333,26 @@ struct MemorySanitizerVisitor : public
InstVisitor<MemorySanitizerVisitor> {
setOriginForNaryOp(I);
}
+ // Instrument packed bits deposit/expand intrinsics.
+ // All of these intrinsics are Z = I(X, Y)
+ // where the types of all operands and the result match.
+ // The following instrumentation happens to work for all of them:
+ // Sz = I(Sx, Y) | (sext (Sy != 0))
+ void handlePackedBits(IntrinsicInst &I) {
----------------
thurstond wrote:
Nit: is there a reason not to reuse the existing handleBmiIntrinsic() function
(possibly renamed)?
https://github.com/llvm/llvm-project/pull/204144
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits