https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121536
--- Comment #3 from Tamar Christina <tnfchris at gcc dot gnu.org> --- Richi: g:fb59c5719c17a04ecfd58b5e566eccd6d2ac583a is problematic for us because without the type we can't tell which one of our scalar register file the operation is working on. e.g. a + b has different costing between int and float. So we need either the GIMPLE statement of the type of the statement being costed otherwise we can't distinguish between them. e.g. just `scalar_stmt` does not give us enough information.