• Lakhinder Walia's avatar
    Lw/fix half shape (#2000) · e4dc75ea
    Lakhinder Walia authored
    * Use shape of Instruction (instead of a default) in add_return()
    
    * Instruction validation fix: not to use a default shape value for comparison
    
    * Fix instruction::replace() to recompute shape for "@return"
    
    * handle the case of missing shape in an Instruction related Test
    
    * use compute_shape() to get op shapes + test case for tuple_type
    
    * add test case shape_test/return_shape_tuple
    
    * Add test for @return to check for half type
    
    * Move @return unit-tests around..; Address review comments
    
    * Broken comparison fix: comparison to a (default) shape of tuple_type
    
    * Test cases: (add) return_shape_empty & (modify) return_shape_tuple
    
    * modify the assert() statement
    e4dc75ea
op_shape_test.cpp 147 KB