[all-commits] [llvm/llvm-project] 7386ad: Revert "[AMDGPU][GlobalISel] Stop foldInsertEltToC...

Mirko BrkuĊĦanin via All-commits all-commits at lists.llvm.org
Wed May 26 03:00:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7386ad4e9e26df93876ae309920e4f7e72288bae
      https://github.com/llvm/llvm-project/commit/7386ad4e9e26df93876ae309920e4f7e72288bae
  Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-insert-vector-elt.mir

  Log Message:
  -----------
  Revert "[AMDGPU][GlobalISel] Stop foldInsertEltToCmpSelect from changing reg banks"

This reverts commit 18c5444702893fd63b0a99ec7133dd714284f9d2.


  Commit: 9601849984a79eae176a9b114d7707c651097523
      https://github.com/llvm/llvm-project/commit/9601849984a79eae176a9b114d7707c651097523
  Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
  Date:   2021-05-26 (Wed, 26 May 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.i8.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-insert-vector-elt.mir

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Stop foldInsertEltToCmpSelect from changing reg banks

This function can change regbank for registers which already have a selected
bank. Depending on the instruction where these registers were used it can
cause instruction selection to fail.

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


Compare: https://github.com/llvm/llvm-project/compare/7e27e4273d09...9601849984a7


More information about the All-commits mailing list