Deductions & credits

You answered only part of the question about the step in in value.
Do both a revocable and irrevocable trust get the step up in value and does it matter that a revocable trust becomes an irrevocable trust on the death of the settlor?