Skip to content

Commit

Permalink
Add a parser test for the bitcast-convert instruction.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 244267429
  • Loading branch information
cheshire authored and tensorflower-gardener committed Apr 18, 2019
1 parent 1260d2c commit fb49f67
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tensorflow/compiler/xla/service/hlo_parser_test.cc
Expand Up @@ -1536,6 +1536,19 @@ ENTRY MinMaxValues {
)"
},

// Bitcast-convert usage
{
"BitcastConvert",
R"(HloModule BitcastConvert
ENTRY BitcastConvertUsage {
p = f32[100]{0} parameter(0)
ROOT out = u32[100]{0} bitcast-convert(p)
}
)"
}
});
// clang-format on
}
Expand Down

0 comments on commit fb49f67

Please sign in to comment.