[all-commits] [llvm/llvm-project] 828b89: [AArch64][SelectionDAG] Supports unpklo/hi instruc...

Allen via All-commits all-commits at lists.llvm.org
Mon Mar 21 08:48:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 828b89bc0bb13177c48329ca866fd357e206fbcb
      https://github.com/llvm/llvm-project/commit/828b89bc0bb13177c48329ca866fd357e206fbcb
  Author: zhongyunde <zhongyunde at huawei.com>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    A llvm/test/CodeGen/AArch64/sve-intrinsics-ldst-ext.ll
    A llvm/test/CodeGen/AArch64/sve-intrinsics-mask-ldst-ext.ll
    M llvm/test/CodeGen/AArch64/sve-masked-ldst-zext.ll

  Log Message:
  -----------
  [AArch64][SelectionDAG] Supports unpklo/hi instructions to reduce the number of loads

Trying to reduce the number of masked loads in favour of more unpklo/hi
instructions. Both ISD::ZEXTLOAD and ISD::SEXTLOAD are supported to extensions
from legal types.

Both of normal and masked loads test cases added to guard compile crash.

Reviewed By: paulwalker-arm

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




More information about the All-commits mailing list