[all-commits] [llvm/llvm-project] 702c4a: [ISD::IndexType] Helper functions for common queries.

paulwalker-arm via All-commits all-commits at lists.llvm.org
Sat May 7 04:02:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 702c4ade225be58118d34760d9f67e02a826e426
      https://github.com/llvm/llvm-project/commit/702c4ade225be58118d34760d9f67e02a826e426
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2022-05-07 (Sat, 07 May 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

  Log Message:
  -----------
  [ISD::IndexType] Helper functions for common queries.

Add helper functions to query the signed and scaled properties
of ISD::IndexType along with functions to change them.

Remove setIndexType from MaskedGatherSDNode because it only has
one usage and typically should only be changed alongside its
index operand.

Minimise the direct use of the enum values to lay the groundwork
for more refactoring.

Differential Revision: https://reviews.llvm.org/D123347




More information about the All-commits mailing list