[all-commits] [llvm/llvm-project] 50782a: [SPARC] Add patterns for i64->i32 and i64->i16 BSW...

Koakuma via All-commits all-commits at lists.llvm.org
Sun Aug 2 02:02:09 PDT 2026


  Branch: refs/heads/release/23.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 50782acac8249a6ff65e50f6551f921a6e25063d
      https://github.com/llvm/llvm-project/commit/50782acac8249a6ff65e50f6551f921a6e25063d
  Author: Koakuma <koachan at protonmail.com>
  Date:   2026-08-02 (Sun, 02 Aug 2026)

  Changed paths:
    M llvm/lib/Target/Sparc/SparcInstr64Bit.td
    M llvm/test/CodeGen/SPARC/bswap.ll

  Log Message:
  -----------
  [SPARC] Add patterns for i64->i32 and i64->i16 BSWAP-STOREs (#210483)

The lack of those is causing instruction selection to fail.

Also, for completeness, add variants of extending/truncating ops for
LOAD-BSWAP pairs too.

(cherry picked from commit 7afc89970fc3675d77e92aa091b65c078cacdcff)



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