[all-commits] [llvm/llvm-project] d06b3e: [NVPTX] improve lowering for common byte-extractio...

Artem Belevich via All-commits all-commits at lists.llvm.org
Thu Sep 21 13:49:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d06b3e3b6a3de7432d57ced8d2b3d15a508f0ddf
      https://github.com/llvm/llvm-project/commit/d06b3e3b6a3de7432d57ced8d2b3d15a508f0ddf
  Author: Artem Belevich <tra at google.com>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    A llvm/test/CodeGen/NVPTX/extractelement.ll

  Log Message:
  -----------
  [NVPTX] improve lowering for common byte-extraction operations. (#66945)

Some critical code paths we have depend on efficient byte extraction
from data loaded as integers. By default LLVM tries to extract bytes by 
storing/loading from stack, which is very inefficient on GPU.




More information about the All-commits mailing list