================
@@ -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) {
----------------
RKSimon wrote:
No strong reason - I just didn't want it to get confused for a x86 instruction
https://github.com/llvm/llvm-project/pull/204144
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits