Restore SingleBlockImplicitTerminator verification to mhlo.while
The internal users have been cleaned up, so we can roll this forward again. PiperOrigin-RevId: 366313960
This commit is contained in:
		
							parent
							
								
									f1bed7b340
								
							
						
					
					
						commit
						763ff55970
					
				|  | @ -578,7 +578,8 @@ def HLO_CaseOp: HLO_Op<"case", [ | ||||||
| 
 | 
 | ||||||
| def HLO_WhileOp: HLO_Op<"while", [ | def HLO_WhileOp: HLO_Op<"while", [ | ||||||
|       RecursiveSideEffects, |       RecursiveSideEffects, | ||||||
|       SameOperandsAndResultType |       SameOperandsAndResultType, | ||||||
|  |       SingleBlockImplicitTerminator<"ReturnOp"> | ||||||
|     ]>, BASE_HLO_WhileOp { |     ]>, BASE_HLO_WhileOp { | ||||||
|   let arguments = (ins HLO_TensorOrTuple:$val); |   let arguments = (ins HLO_TensorOrTuple:$val); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue