File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3382,9 +3382,7 @@ def testfunc(args):
33823382 self .assertIn ("_BINARY_OP_TRUEDIV_FLOAT_INPLACE_RIGHT" , uops )
33833383
33843384 def test_float_truediv_type_propagation (self ):
3385- # (a+b) / (c+d) - (e+f) / (g+h): all additions produce known-float
3386- # results, so both divisions are specialized. The subtraction between
3387- # the two division results should use inplace.
3385+ # Test the _BINARY_OP_TRUEDIV_FLOAT propagates type information
33883386 def testfunc (args ):
33893387 a , b , n = args
33903388 total = 0.0
@@ -3399,7 +3397,7 @@ def testfunc(args):
33993397 self .assertAlmostEqual (res , expected )
34003398 self .assertIsNotNone (ex )
34013399 uops = get_opnames (ex )
3402- self .assertIn ("_BINARY_OP_TRUEDIV_FLOAT_INPLACE " , uops )
3400+ self .assertIn ("_BINARY_OP_TRUEDIV_FLOAT " , uops )
34033401 self .assertIn ("_BINARY_OP_SUBTRACT_FLOAT_INPLACE" , uops )
34043402
34053403 def test_float_truediv_unique_result_enables_inplace (self ):
You can’t perform that action at this time.
0 commit comments