[AArch64] Remove integer INSvi*lane patterns. NFCI.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 10 Mar 2015 20:37:19 +0000 (20:37 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 10 Mar 2015 20:37:19 +0000 (20:37 +0000)
commit4cd59eb6293cf7df79add91da23c121d16e08ba9
tree148adc558df24e518d01276fed075965e7afd620
parent09fc12a14e15ab617729e47f260879d1dfd2f358
[AArch64] Remove integer INSvi*lane patterns.  NFCI.

Most are redundant, and they never seem to fire.

The V128 integer patterns already exist in the INS multiclass.
The duplicates only fire when the vector index type isn't i64,
because they accept "imm" instead of an explicit "i64", as the
instruction definition patterns do.

TLI::getVectorIdxTy is i64 on AArch64, so this should never happen.
Also, one of them had a typo: for i64, INSvi32lane was used.
I noticed because I mistakenly used an explicit i32 as the idx type,
and got ins.s for an i64 vector_insert.

The V64 patterns also don't seem to ever fire, as V64 vector
extract/insert are legalized to V128.

The equivalent float patterns are unique and useful, so keep them.

No functional change intended;  none exhibited on the LIT and LNT tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231838 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrInfo.td