[all-commits] [llvm/llvm-project] 8d06a7: [NFCI][AArch64] Use DAG Helper Functions

Sam Elliott via All-commits all-commits at lists.llvm.org
Fri Mar 3 06:26:07 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d06a7098588a7375d727a3bf826b2aa2e8f75c1
      https://github.com/llvm/llvm-project/commit/8d06a7098588a7375d727a3bf826b2aa2e8f75c1
  Author: Archibald Elliott <archibald.elliott at arm.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

  Log Message:
  -----------
  [NFCI][AArch64] Use DAG Helper Functions

This commit is a cleanup of a few things in the SelectionDAG
implementation:
- to have more places use `splitInt128`, rather than duplicating that
  functionality when they are turning a 128-bit value into two 64-bit
  values,
- to refactor `splitInt128` to use EXTRACT_ELEMENT which is for
  splitting wide integers in two (rather than the equivalent with shifts
  and truncs), and
- to use the concise helpers for INSERT_/EXTRACT_SUBREG in more places.




More information about the All-commits mailing list