If the respective subnets were subnetted, ie. VLAN A = 192.168.1.0 /26 and VLAN B = 192.168.1.64 /26 and IP Routing was enabled, then the routing between VLAN's would work.
Perhaps Seperate VRF' could be created and then use Route Distinguishers to separate one subnet from another however I have very little experience in this area and I have my doubts if this concept will work on a core Switch.