[all-commits] [llvm/llvm-project] ddd8ca: Import workflows from release/12.x branch

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Aug 2 11:32:27 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: ddd8ca695da617842fa20a7b5196245f8465bcd8
      https://github.com/llvm/llvm-project/commit/ddd8ca695da617842fa20a7b5196245f8465bcd8
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    A .github/workflows/clang-tests.yml
    A .github/workflows/libclang-abi-tests.yml
    A .github/workflows/libclc-tests.yml
    A .github/workflows/lld-tests.yml
    A .github/workflows/lldb-tests.yml
    A .github/workflows/llvm-tests.yml

  Log Message:
  -----------
  Import workflows from release/12.x branch

(cherry picked from commit 7546a34044ae28b62bd43e6dc0952622e1b6e77f)


  Commit: 9ac5717f9de68c411de08f359a9ae0ea97d75174
      https://github.com/llvm/llvm-project/commit/9ac5717f9de68c411de08f359a9ae0ea97d75174
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/pr51206.ll

  Log Message:
  -----------
  [RISCV] Restrict performANY_EXTENDCombine to prevent an infinite loop.

The sign_extend we insert here can get turned into a zero_extend if
the sign bit is known zero. This can enable a setcc combine that
shrinks compares with zero_extend. This reduces the use count of
the zero_extend allowing other combines to turn it back into an
any_extend.

This restricts the combine to only cases where the result is used
by a CopyToReg. This works for my original motivating case. I
hope the CopyToReg use will prevent any converted extends from
turning back into an any_extend.

Reviewed By: luismarques

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

(cherry picked from commit 54588bcc052e5b08f90e672c33d0c1ad4eda2424)


Compare: https://github.com/llvm/llvm-project/compare/a6c39006e59c...9ac5717f9de6


More information about the All-commits mailing list