[PATCH] D100463: [AArch64][SVEIntrinsicOpts] Fold sve_convert_from_svbool(zero) to zero
Joe Ellis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 15 01:03:05 PDT 2021
joechrisellis added a comment.
Hi @dmgreen! This is SVE-specific, and `SVEIntrinsicOpts.cpp` is where such transformations are typically placed (at least for now). I did a quick grep and it seems SVE intrinsics don't currently have much of a presence in generic passes like instcombine/constant folding, perhaps because some SVE optimisations are more complex than others and I guess it makes sense to keep them all in the same place.
X86 also has `llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp` which houses instcombine-like optimisations for X86. 🙂
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100463/new/
https://reviews.llvm.org/D100463
More information about the llvm-commits
mailing list