Extend the handling of memory intrinsics to also include non-target-specific intrinsics, in particular masked loads and stores.
Invent isHandledNonTargetIntrinsic to distinguish between intrinsics that should be handled natively from intrinsics that can be passed to TTI.
Add code that handles masked loads and stores and update the testcase to reflect the results.
Info.MatchingID is getting implicitly set to zero? Could that conflict with a target-specific ID? I guess you explicitly check the identity of the intrinsic later, but it seems a little confusing that you aren't doing anything explicit with getMatchingId().