[all-commits] [llvm/llvm-project] 44e2c6: [AArch64][SVE] Use PTRUE instruction instead of WH...

Dinar Temirbulatov via All-commits all-commits at lists.llvm.org
Fri Nov 18 08:21:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44e2c6a428cca8a50c620c589e77f46f768eb0d7
      https://github.com/llvm/llvm-project/commit/44e2c6a428cca8a50c620c589e77f46f768eb0d7
  Author: Dinar Temirbulatov <dinar.temirbulatov at arm.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/active_lane_mask.ll

  Log Message:
  -----------
  [AArch64][SVE] Use PTRUE instruction instead of WHILELO if the range is appropriate for predicator constant.

While get_active_lane_mask lowering it uses WHILELO instruction,
but forconstant range suitable for PTRUE then we could issue PTRUE instruction
instead.

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




More information about the All-commits mailing list