[PATCH] D118147: [AArch64][SVE] Folds VSELECT if the predicate is all active.
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 27 06:22:42 PST 2022
sdesmalen updated this revision to Diff 403630.
sdesmalen marked an inline comment as done.
sdesmalen added a comment.
- Added case for 'all inactive'.
- Improved tests by swapping the arguments so that it's clear which value is returned. (for positive tests, it should return the value from z1)
- Added negative test as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118147/new/
https://reviews.llvm.org/D118147
Files:
llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/test/CodeGen/AArch64/sve-vselect-fold.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118147.403630.patch
Type: text/x-patch
Size: 7306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220127/12f3bf00/attachment.bin>
More information about the llvm-commits
mailing list