Even under Dodd-Frank and prior to the Trump deregulation, SVB was in trouble and acting badly - and regulators probably wouldn't have caught it, nor would SVB have broken the law.
They had to do stress tests this year anyway. But that wouldn't have caught onto the fact that they parked deposits from (now forgiven) PPP loans into treasury bonds in a hold-to-maturity account (thus hiding the asset risk on paper, something that isn't illegal but is suspicious that they did to a degree beyond anyone else apparently), and it wouldn't get over the fact that the Fed's own guidelines for computing asset risk told them to only take into account a 1% rise in the Fed's interest rate (it actually rose 3%!).
Point being, deregulation (real or advocated for) didn't cause SVB to fail. It would have failed anyway. The actual data they base things on is bad, and the bank was nigh criminally mismanaged.