Don't constant fold LoopCond nodes.
Removing the LoopCond of a while_loop can cause the partitioner to fail with: A cross-device loop must have a pivot predicate For some reason this only triggers with while_v2 (the lowered while loop is slightly different than what would be produced by the original while_loop). PiperOrigin-RevId: 225188075
Loading
Please sign in to comment