[PATCH] D103755: [DAG] Fold neg(bvsplat(neg(x)) -> bvsplat(x)
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 25 11:30:24 PDT 2021
dmgreen added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/neon-shift-neg.ll:567
define <vscale x 16 x i8> @subsub(<vscale x 16 x i8> %a, i8 %b) {
; CHECK-LABEL: subsub:
----------------
sdesmalen wrote:
> It seems odd to have a scalable-vector test in `neon-shift-neg.ll` ? (I actually can't find this test in latest HEAD, am I looking at the right diff?)
Yeah.. The same pattern of negated shifts does not apply for SVE (which makes it a little less useful). I've added a more direct test in 77ae9b364a9d9b99501163761313cefbb345cea7.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103755/new/
https://reviews.llvm.org/D103755
More information about the llvm-commits
mailing list