[all-commits] [llvm/llvm-project] 586d5f: [SPARC] Improve integer branch handling for v9 tar...

Koakuma via All-commits all-commits at lists.llvm.org
Wed Nov 16 17:51:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 586d5f91e6761747382b4f51df4acd340cd187e5
      https://github.com/llvm/llvm-project/commit/586d5f91e6761747382b4f51df4acd340cd187e5
  Author: Koakuma <koachan at protonmail.com>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M llvm/lib/Target/Sparc/SparcISelLowering.cpp
    M llvm/lib/Target/Sparc/SparcISelLowering.h
    M llvm/lib/Target/Sparc/SparcInstr64Bit.td
    M llvm/lib/Target/Sparc/SparcInstrInfo.cpp
    M llvm/lib/Target/Sparc/SparcInstrInfo.td
    M llvm/test/CodeGen/SPARC/atomics.ll
    A llvm/test/CodeGen/SPARC/branches-v9.ll
    M llvm/test/CodeGen/SPARC/hard-quad-float.ll
    M llvm/test/CodeGen/SPARC/missinglabel.ll

  Log Message:
  -----------
  [SPARC] Improve integer branch handling for v9 targets

Do not emit deprecated v8-style branches when targeting a v9 processor.

As a side effect, this also fixes the emission of useless ba's when doing
conditional branches on 64-bit integer values.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D130006




More information about the All-commits mailing list