)]}'
{
  "commit": "32dc4bc481a0f3b94bf2129e908e15917f75b45f",
  "tree": "4e20434a06877a266d19fa3cfa2bdebaa616ef1e",
  "parents": [
    "b74153cc071f4bbedb76f2b72800b2c9467ce996"
  ],
  "author": {
    "name": "Wang Yaduo",
    "email": "wangyaduo@linux.alibaba.com",
    "time": "Tue Sep 01 09:32:27 2026 -0600"
  },
  "committer": {
    "name": "Jeff Law",
    "email": "jeffreyalaw@gmail.com",
    "time": "Tue Sep 01 09:32:27 2026 -0600"
  },
  "message": "[PATCH v2] RISC-V: Fix scalar floating-point costs\n\nScalar IL costing receives a null vectype, causing floating-point\nstatements to use the integer cost. Recover the scalar type and restrict\nLMUL adjustments to vector types.\n\ngcc/ChangeLog:\n\n\t* config/riscv/riscv-vector-costs.cc (costs::adjust_stmt_cost):\n\tRestrict LMUL scaling to vector types.\n\t(costs::add_stmt_cost): Recover the scalar type for scalar costing.\n\ngcc/testsuite/ChangeLog:\n\n\t* gcc.target/riscv/rvv/autovec/scalar-fp-cost.c: New test.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bfb8a0ca63b0c4f1cef4a02861dbdfb3087d2aad",
      "old_mode": 33188,
      "old_path": "gcc/config/riscv/riscv-vector-costs.cc",
      "new_id": "dfb80bee6791e7957eaadbdba6cef2d188091aaf",
      "new_mode": 33188,
      "new_path": "gcc/config/riscv/riscv-vector-costs.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "d729dd69d02f813d93ab330a0c8b28c69a655085",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.target/riscv/rvv/autovec/scalar-fp-cost.c"
    }
  ]
}
