The alloy rim will have been hardened after forming so any welding will create a soft spot because you will have annealed it making it the weak spot. Thats why it will crack again unless you can get it heat treated back to the correct temper which would likely cost as much as a new rim.