[all-commits] [llvm/llvm-project] c4649d: [RISCV] Teach RISCVOptWInstrs that 'bset x0, 30-0'...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Nov 1 12:30:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4649d05cfc216da87868f818b2c04e78cf756e0
      https://github.com/llvm/llvm-project/commit/c4649d05cfc216da87868f818b2c04e78cf756e0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-01 (Wed, 01 Nov 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
    M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zbs.ll

  Log Message:
  -----------
  [RISCV] Teach RISCVOptWInstrs that 'bset x0, 30-0' satisfies isSignExtendingOpW.

Constant materialization can use bset x0, 11 to create 2048.




More information about the All-commits mailing list