[Polly] Port ForwardOpTree to the NewPM.

GitOrigin-RevId: 4c64d8ee3a871ef4bd7823d23ab009a19e89287f
6 files changed