[all-commits] [llvm/llvm-project] 24b28d: [amdgpu] Increase alignment of all LDS variables

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Sun Dec 12 11:31:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24b28db8ccd6afabb99e770d555dadfc3cced9b7
      https://github.com/llvm/llvm-project/commit/24b28db8ccd6afabb99e770d555dadfc3cced9b7
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-12-12 (Sun, 12 Dec 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
    M llvm/test/CodeGen/AMDGPU/lower-kernel-lds-super-align.ll

  Log Message:
  -----------
  [amdgpu] Increase alignment of all LDS variables

Currently the superalign option only increases the alignment of
variables that are moved into the module.lds block. Change that to all LDS
variables. Also only increase the alignment once, instead of once per function.

Reviewed By: rampitec

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




More information about the All-commits mailing list