2024 1041 -treatment of reported loss in 1040prior to transferring rental property to trust b

I need assistance how to treat accumulated losses on rental property in 1041 prior to transferring from revocable trust to irrevocable trust b (upon my husband death) with beneficiary being wife and grand children and the wife being trustee