[PATCH] D128926: [AArch64] NFC: Move safe predicate casting to a separate function.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 09:04:29 PDT 2022


sdesmalen created this revision.
sdesmalen added reviewers: paulwalker-arm, efriedma.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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 <https://reviews.llvm.org/D128665>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128926

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128926.441427.patch
Type: text/x-patch
Size: 6906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220630/612651de/attachment.bin>


More information about the llvm-commits mailing list