OSDN Git Service

[AArch64][GlobalISel] Add isel support for a couple vector exts/truncs
authorJessica Paquette <jpaquette@apple.com>
Mon, 11 Feb 2019 18:56:39 +0000 (18:56 +0000)
committerJessica Paquette <jpaquette@apple.com>
Mon, 11 Feb 2019 18:56:39 +0000 (18:56 +0000)
commit5dfbd9a2388e466147e9328bd9a5c4bda9ce61d3
treedbe6f5bab6c88f01e21d99aa36e840261452590d
parentca332cb943ae953f7baef1b45c249bdef862f427
[AArch64][GlobalISel] Add isel support for a couple vector exts/truncs

Add support for

- v4s16 <-> v4s32
- v2s64 <-> v2s32

And update tests that use them to show that we generate the correct
instructions.

Differential Revision: https://reviews.llvm.org/D57832

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353732 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64LegalizerInfo.cpp
test/CodeGen/AArch64/GlobalISel/select-fp-casts.mir
test/CodeGen/AArch64/arm64-vcvt_f.ll