[AArch64] Enhance last active true vector combine
authorzhongyunde <zhongyunde@huawei.com>
Wed, 6 Apr 2022 01:48:12 +0000 (09:48 +0800)
committerzhongyunde <zhongyunde@huawei.com>
Wed, 6 Apr 2022 01:54:28 +0000 (09:54 +0800)
commit251637690ab486bd13d8408453314aa933501dd0
tree31d74260cd9fe0033d645940f807e3d554f2d1be
parent857bf306d7984cb464cd0de6371df7c934c6642a
[AArch64] Enhance last active true vector combine

Last active extracting will output LASTB + WHILELS, and the WHILELS itself
is a flag-setting operation, so perform it preferly.

Reviewed By: paulwalker-arm, sdesmalen

Differential Revision: https://reviews.llvm.org/D122551
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-extract-element.ll