[all-commits] [llvm/llvm-project] 5847d5: AMDGPU/GlobalISel: Add baseline test for binop fol...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Feb 8 15:17:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5847d5fb24c30caa92b0e7a74d6bd64376f568a5
      https://github.com/llvm/llvm-project/commit/5847d5fb24c30caa92b0e7a74d6bd64376f568a5
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fold-binop-into-select.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Add baseline test for binop fold into select combine


  Commit: 0877fbcc16cdb4ea62e86fbe82d9c0eec9375952
      https://github.com/llvm/llvm-project/commit/0877fbcc16cdb4ea62e86fbe82d9c0eec9375952
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fold-binop-into-select.mir

  Log Message:
  -----------
  GlobalISel: Add FoldBinOpIntoSelect combine

This will do the combine in cases that should fold, but don't
now. e.g. we're relying on the CSEMIRBuilder's incomplete constant
folding. For instance it doesn't handle FP operations or vectors (and
we don't have separate constant folding combines either to catch
them).


Compare: https://github.com/llvm/llvm-project/compare/dcd4950d4256...0877fbcc16cd


More information about the All-commits mailing list