[all-commits] [llvm/llvm-project] 36c383: [GISel] Add Trunc/Lshr/BuildVector Folding

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Fri Oct 7 01:44:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36c3833783f071b5628d032d035c0343226a24eb
      https://github.com/llvm/llvm-project/commit/36c3833783f071b5628d032d035c0343226a24eb
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/AArch64/fold-global-offsets.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizer-combiner-trunc-bitcast-buildvector.mir

  Log Message:
  -----------
  [GISel] Add Trunc/Lshr/BuildVector Folding

Similar to the current "Trunc/BuildVector" folding - which folds low element extracts of BuildVectors, folds hi element extracts done using bitshifts.

For D134354

Reviewed By: arsenm

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




More information about the All-commits mailing list