[ARM] Mark VMOVRRD with the ExtractSubreg property and implement the related
authorQuentin Colombet <qcolombet@apple.com>
Wed, 20 Aug 2014 22:16:19 +0000 (22:16 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 20 Aug 2014 22:16:19 +0000 (22:16 +0000)
commitd28e4c17352669a9a685546e0a48dc4aa29cbfd7
tree6ac0a8a3b41e88b83b61c40973a57a69df20f40d
parentd1e3fcf347ffaff463c29773a9d7a43b4fc2a896
[ARM] Mark VMOVRRD with the ExtractSubreg property and implement the related
target hook.

This patch teaches the compiler that:
rX, rY = VMOVRRD dZ
is the same as:
rX = EXTRACT_SUBREG dZ, ssub_0
rY = EXTRACT_SUBREG dZ, ssub_1

<rdar://problem/12702965>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216132 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.h
lib/Target/ARM/ARMInstrVFP.td