[all-commits] [llvm/llvm-project] e13c84: GlobalISel: Work on improving stock set of legalit...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu May 28 17:28:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e13c84c3be589c80edd2391664e136f54f0e3345
      https://github.com/llvm/llvm-project/commit/e13c84c3be589c80edd2391664e136f54f0e3345
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-05-28 (Thu, 28 May 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
    M llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp

  Log Message:
  -----------
  GlobalISel: Work on improving stock set of legality predicates

I get confused by a lot of the predicate names here, since I would
assume they apply to vectors as well. Rename to reflect they only
apply to scalars.

Also add a few predicates AMDGPU uses that should be generally useful.
Also add any() to complement all. I've wanted to use this a few times
but then worked around it not being there.




More information about the All-commits mailing list