[all-commits] [llvm/llvm-project] 7a4163: [AMDGPU][GlobalISel] Widen 1 and 2 byte scalar loads

vangthao95 via All-commits all-commits at lists.llvm.org
Wed May 5 15:21:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a41639c60ab1bd3712302e2588d5c7d6d8b57dc
      https://github.com/llvm/llvm-project/commit/7a41639c60ab1bd3712302e2588d5c7d6d8b57dc
  Author: Vang Thao <Vang.Thao at amd.com>
  Date:   2021-05-05 (Wed, 05 May 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/frem.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-widen-scalar-loads.mir
    A llvm/test/CodeGen/AMDGPU/GlobalISel/widen-i8-i16-scalar-loads.ll

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Widen 1 and 2 byte scalar loads

Widen 1 and 2 byte scalar loads to 4 bytes when sufficiently
aligned to avoid using a global load.

Reviewed By: arsenm

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




More information about the All-commits mailing list