Your question might need some clarification.
Are you referring to how it effects your CPU overclock? It would have negligible affect on how high you can overclock your CPU regardless of brand.
Are you referring to how high you can overclock the memory? Assuming 2x8GB sticks here Samsung B-Die memory will tend to achieve a higher combination of speed/lower latency then the Hynix (M-Die?) memory. This is why kits binned kits for Samsung B-Dies go to 3600CL15 (or faster but with latency penalty) while Hynix goes to 3200CL16 (or faster but at latency penalty).
Are you referring to how it would affect actual performance? I'm going to assume you're referring specifically to gaming here (going to your other posts). Even with that specificity it depends on the work load. Not just in terms of the game but what your trying to achieve in the game (some games like FO4 are more dependent on memory performance). It tends to make a larger impact if you going for high avg fps (to match high refresh displays) and helps alleviate worst case scenarios (so what would be measured with things like min fps, or 1% lows, etc.).
As for your Intel and AMD specific question, It benefits both but relatively a Ryzen system would gain more for gaming going from 3200CL16 to B-Die kits compared to an Intel Coffeelake system. There are lot of factors involved for why this is (some of it isn't clearly explored). Just in terms of setup 3200CL16 kits will just work on Intel CFL systems with Z series boards essentially (they're basically QVLed for Intel) at rated specs with minimal effort (just set XMP) whereas not necessarily for Ryzen systems.
Something you should keep in mind is a lot of the general sentiment regarding B-Dies is that may be rooted in circumstances that do not apply or matter to you. B-Die price differential was not always what it was now. At a time even 3200CL16 carried a heavy premium (whereas now its negligible over the cheapest DDR4) while B-Die kits on top of it weren't much more. Another factor is that pushing the importance of B-Die kits was also important with respect to Ryzen systems (especially Zen) as that represented the optimal (really more favorable) to setup for it.