[test][AArch64] Add a test case for D121180 NFC
authorzhongyunde <zhongyunde@huawei.com>
Sat, 26 Mar 2022 11:09:11 +0000 (19:09 +0800)
committerzhongyunde <zhongyunde@huawei.com>
Sat, 26 Mar 2022 11:12:16 +0000 (19:12 +0800)
commit758be63ac6e65bca45e1d8d8f48d976be9661cc3
tree4e4655a0fb943fa43c31efcbd2a0c9cf9ad37888
parentc8ea7329377f5849205c775c78e5b00f9f52137f
[test][AArch64] Add a test case for D121180 NFC

Now, perform last active true vector combine only where
we're extracting from a flag-setting operation. But in
fact, the last active extracting will output LASTB + WHILELS,
and the WHILELS itself is a flag-setting operation, so
precommit this case to test the potentially further optimization.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D122453
llvm/test/CodeGen/AArch64/sve-extract-element.ll