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.
Paths
| Differential D128926
[AArch64] NFC: Move safe predicate casting to a separate function. ClosedPublic Authored by sdesmalen on Jun 30 2022, 9:04 AM.
Details Summary This patch puts the code to safely bitcast a predicate, and possibly zero This is some cleanup inspired by D128665.
Diff Detail
Event Timeline
sdesmalen marked 6 inline comments as done. Comment ActionsAddressed review comments.
This revision is now accepted and ready to land.Jul 1 2022, 4:14 AM This revision was landed with ongoing or failed builds.Jul 4 2022, 3:58 AM Closed by commit rGbf89d24f5319: [AArch64] NFC: Move safe predicate casting to a separate function. (authored by sdesmalen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 442062 llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
|
Can this be just getSVEPredicateCast? because we'll never use this function in the context of a bitcast. Also in this context I think Safe can be assumed.