Why do people not read previous replies?
Too busy writing my own post to read the other preceding pedants….
While a 30/40 is only a 10t jump not different to a std chainset, once you get into 40/28 or 40/26 (which are more easily achieved combinations) or bigger than 10t steps then not all mechs accommodate, I’ve run 38/26 myself in the past and found the XT I used didn’t quite have the range so 40/28 would have a similar issue…
The whole point of the SLX double is that it allows a more significant difference between the 2 rings giving an overall broader spread of gears…. Odds are the OP will more likely wind up having to deal with a 12t difference in chain rings which his current mech may not cover.
I’m simply presenting a possible option or two, nothing I say is gospel, or indeed 100% what the OP was driving at, such is the nature of the interweb…
Apologies if I offended…