[all-commits] [llvm/llvm-project] cf2933: AMDGPU/GlobalISel: Work around forming illegal zex...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Apr 11 07:56:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cf29333f40e8eee520b1907748d8ed2b82b95f80
      https://github.com/llvm/llvm-project/commit/cf29333f40e8eee520b1907748d8ed2b82b95f80
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-04-11 (Sat, 11 Apr 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
    A llvm/test/CodeGen/AMDGPU/GlobalISel/zextload.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Work around forming illegal zextload after legalize

Selection would fail after the post legalize combiner put an illegal
zextload back together.

The base combiner has parameter to only allow legal operations, but
they appear to not be used. I also don't see a nice way to remove a
single entry from all_combines, so just hack around this.




More information about the All-commits mailing list