[SVE][CodeGen] Fix predicate for add/sub + element count patterns
commitac4e01ea0eb06134e37fc5404af4face8a262807
authorKerry McLaughlin <kerry.mclaughlin@arm.com>
Mon, 18 Oct 2021 12:32:41 +0000 (18 13:32 +0100)
committerKerry McLaughlin <kerry.mclaughlin@arm.com>
Mon, 18 Oct 2021 13:42:29 +0000 (18 14:42 +0100)
treefa38abeef1cf3275f9deb819ab2165c7521d4678
parentf5056c8c16bb732a83ec12776e01915af717917b
[SVE][CodeGen] Fix predicate for add/sub + element count patterns

The patterns added in D111441 should use the HasSVEorStreamingSVE
predicate. This changes one incorrect use of HasSVE with the new
patterns.
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td