[all-commits] [llvm/llvm-project] 6314a7: AMDGPU/GlobalISel: Enable CSE in pre-legalizer com...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Mar 21 07:22:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6314a727308a76b9ef8783d69797ce3bead096ff
      https://github.com/llvm/llvm-project/commit/6314a727308a76b9ef8783d69797ce3bead096ff
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-03-21 (Sun, 21 Mar 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-urem-pow-2.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i32.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Enable CSE in pre-legalizer combiner


  Commit: 1098acd46d4768a01c57ec319905cc6032ad1732
      https://github.com/llvm/llvm-project/commit/1098acd46d4768a01c57ec319905cc6032ad1732
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-03-21 (Sun, 21 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp

  Log Message:
  -----------
  GlobalISel: Avoid unnecessary truncation to i64

We can just directly pass through the APInt to create a new constant.


Compare: https://github.com/llvm/llvm-project/compare/64c2641c895a...1098acd46d47


More information about the All-commits mailing list