[all-commits] [llvm/llvm-project] bbd2e0: [Mips] Enable generic bitfield extract preparation...

Jiaxun Yang via All-commits all-commits at lists.llvm.org
Fri Sep 25 12:13:00 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbd2e0f7ce13d2a1ff8336018d3b034eb3c698a0
      https://github.com/llvm/llvm-project/commit/bbd2e0f7ce13d2a1ff8336018d3b034eb3c698a0
  Author: Jiaxun Yang <jiaxun.yang at flygoat.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M llvm/lib/Target/Mips/MipsISelLowering.cpp
    M llvm/test/CodeGen/Mips/extins.ll

  Log Message:
  -----------
  [Mips] Enable generic bitfield extract preparation (#226491)

Enable CodeGenPrepare's shift sinking when the subtarget supports
bitfield extract instructions. This exposes shift-and-mask patterns
across basic blocks to the existing MIPS extract combine.

Use hasExtractInsert() to keep this disabled for pre-r2 targets and
MIPS16. Add a minimal cross-block regression case to extins.ll.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list