OSDN Git Service

AArch64: legalize G_EXTRACT operations.
authorTim Northover <tnorthover@apple.com>
Mon, 26 Jun 2017 20:34:13 +0000 (20:34 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 26 Jun 2017 20:34:13 +0000 (20:34 +0000)
commit05321d30b5e207353eddc473431097b173a7fef0
tree8616f4918c9025f7afd0420779b0692c0dc096f6
parentd2381bc76f01b49aeec77d05d96edac7698acf62
AArch64: legalize G_EXTRACT operations.

This is the dual problem to legalizing G_INSERTs so most of the code and
testing was cribbed from there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306328 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
lib/Target/AArch64/AArch64LegalizerInfo.cpp
lib/Target/X86/X86LegalizerInfo.cpp
test/CodeGen/AArch64/GlobalISel/legalize-combines.mir
test/CodeGen/AArch64/GlobalISel/legalize-exceptions.ll
test/CodeGen/AArch64/GlobalISel/legalize-extracts.mir [new file with mode: 0644]