[all-commits] [llvm/llvm-project] 0dc4bd: GlobalISel: Enable CSE of G_SELECT

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Dec 19 18:27:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0dc4bdd8887758d6d55337f366c66f41e42a7b97
      https://github.com/llvm/llvm-project/commit/0dc4bdd8887758d6d55337f366c66f41e42a7b97
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fold-binop-into-select.mir

  Log Message:
  -----------
  GlobalISel: Enable CSE of G_SELECT

Stop trying to delete a select in one combine since it would
be deleting the CSE'd instruction if that happened.




More information about the All-commits mailing list