[all-commits] [llvm/llvm-project] 2cfda6: [AMDGPU] Fold immediates in the optimizeCompareInstr

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Thu Sep 2 17:23:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cfda6a6912e140bc02f569aa7992deed7b54ea9
      https://github.com/llvm/llvm-project/commit/2cfda6a6912e140bc02f569aa7992deed7b54ea9
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/test/CodeGen/AMDGPU/basic-branch.ll
    M llvm/test/CodeGen/AMDGPU/optimize-compare.mir
    M llvm/test/CodeGen/AMDGPU/setcc.ll
    M llvm/test/CodeGen/AMDGPU/wave32.ll

  Log Message:
  -----------
  [AMDGPU] Fold immediates in the optimizeCompareInstr

Peephole works before the first SIFoldOperands so most of
the immediates are in registers.

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




More information about the All-commits mailing list