[all-commits] [llvm/llvm-project] c6947d: [RISCV] Add helper method for detecting BEXTI or T...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Sep 10 12:17:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6947dad53dacc19d47b4da6b1984ca39ec111f6
      https://github.com/llvm/llvm-project/commit/c6947dad53dacc19d47b4da6b1984ca39ec111f6
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-09-10 (Wed, 10 Sep 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVSubtarget.h

  Log Message:
  -----------
  [RISCV] Add helper method for detecting BEXTI or TH_TST is supported. NFC (#157915)

These instructions both extract single bit to bit 0 and fill the upper
bits with 0.

There's at least one place where we check for BEXTI but not TH_TST. I
wanted to keep this patch NFC so that will be a follow up fix.



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