[all-commits] [llvm/llvm-project] 18c544: [AMDGPU][GlobalISel] Stop foldInsertEltToCmpSelect...

Mirko BrkuĊĦanin via All-commits all-commits at lists.llvm.org
Tue May 25 10:36:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18c5444702893fd63b0a99ec7133dd714284f9d2
      https://github.com/llvm/llvm-project/commit/18c5444702893fd63b0a99ec7133dd714284f9d2
  Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
  Date:   2021-05-25 (Tue, 25 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.




More information about the All-commits mailing list