[all-commits] [llvm/llvm-project] bf89d2: [AArch64] NFC: Move safe predicate casting to a se...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Mon Jul 4 03:59:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf89d24f5319cb57e8458c1192480d17f00d4540
      https://github.com/llvm/llvm-project/commit/bf89d24f5319cb57e8458c1192480d17f00d4540
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2022-07-04 (Mon, 04 Jul 2022)

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

  Log Message:
  -----------
  [AArch64] NFC: Move safe predicate casting to a separate function.

This patch puts the code to safely bitcast a predicate, and possibly zero
any undefined lanes when doing a widening cast, into one place and merges
the functionality with lowerConvertToSVBool.

This is some cleanup inspired by D128665.

Reviewed By: paulwalker-arm

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




More information about the All-commits mailing list