[PATCH] D138682: [AArch64][SME]: Generate streaming-compatible code for bit counting/select
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 28 03:49:41 PST 2022
david-arm added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:15694
// it does not work for SVE when dealing with vectors wider than 128 bits.
- if (!VT.is64BitVector() && !VT.is128BitVector())
+ if (!VT.is64BitVector() && !VT.is128BitVector() ||
+ DAG.getSubtarget<AArch64Subtarget>().forceStreamingCompatibleSVE())
----------------
I think you need brackets around the first part, i.e.
if ((!VT.is64BitVector() && !VT.is128BitVector()) ||
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138682/new/
https://reviews.llvm.org/D138682
More information about the llvm-commits
mailing list