36 std::shared_ptr<const rvsdg::Type> scalarType = type;
38 if (
const auto vectorType = std::dynamic_pointer_cast<const VectorType>(type))
40 scalarType = std::static_pointer_cast<const rvsdg::Type>(vectorType->Type());
43 const auto fpType = std::dynamic_pointer_cast<const FloatingPointType>(scalarType);
46 throw std::runtime_error(
47 "FMulAddIntrinsicOperation::CheckAndExtractType: Expected floating point type.");