)]}'
{
  "commit": "4200fb100feaf617bfea9cf970defaba21effaa2",
  "tree": "370c0e6bd021a7921ad349e7c68cf9f56889800b",
  "parents": [
    "637236889f3c7668c43cc4a9bb75691e85dacf2a",
    "d93df7f4122cd7d6e287d90511a6ffa5218cfb11"
  ],
  "author": {
    "name": "Jacob Pratt",
    "email": "jacob@jhpratt.dev",
    "time": "Fri Jul 17 23:33:30 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Jul 17 23:33:30 2026 -0400"
  },
  "message": "Rollup merge of #159164 - scottmcm:remove-is-backend-blah, r\u003dworkingjubilee\n\n[cg_ssa] Eliminate the `is_backend_{immediate,scalar_pair,ref}` methods\n\nThese methods are just mostly just matches on [`BackendRepr`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_abi/enum.BackendRepr.html) now, which makes then not not very valuable.  Notably, `cg_clif` gets along just fine without them.  In general, it\u0027s much nicer to match on `BackendRepr` than to use an `if`-`else` chain of `is_zst`+`is_backend_immediate`+`is_backend_scalar_pair`.\n\nAnd having them be on `LayoutTypeCodegenMethods` means you need a context to use them, making it more annoying to use them in things like [`OperandValue::is_expected_variant_for_type`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/mir/operand/enum.OperandValue.html#method.is_expected_variant_for_type).\n\nSo this just removes them, as well as the `is_llvm_*` and `is_gcc_*` versions.\n\nHow I migrated callers:\n- `is_backend_ref` becomes a (logical-not-ed) call to a new `.is_ssa_standalone()` method.  (Better name suggestions welcome for this one.  I wanted something to hopefully phrase intent better and positively.)\n- `is_backend_immediate` becomes a call to `.backend_repr.is_scalar_or_simd()`.\n- `is_backend_scalar_pair` becomes a pattern-match against `BackendRepr::ScalarPair { .. }`.\n- some places that used multiples just became a match over `BackendRepr`.\n\nThe intent is that this has zero impact on the codegen.  It should be a refactor only.\n\nr? codegen\n",
  "tree_diff": []
}
