1. A method for compiling code to reduce memory bandwidth when processing code on a computer, comprising: automatically identifying a sequence of operations for fusing, wherein said sequence of operations correspond to instructions from a source code; determining subdivisions of a final output of said sequence of operations; determining input data and intermediate operations needed to obtain a final subdivision output for each of said subdivisions; and automatically generating code to fuse said sequence of operations employing said subdivisions, wherein said automatically identifying and said automatically generating are performed by a processor.