ARM NEON: Don't need COPY_TO_REGCLASS in pattern
authorArnold Schwaighofer <aschwaighofer@apple.com>
Tue, 19 Feb 2013 20:16:45 +0000 (20:16 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Tue, 19 Feb 2013 20:16:45 +0000 (20:16 +0000)
commit909a0e0e95e2b96f5d07d40fb53c5892bea20f83
tree789024f955c9a6a641e9fb7af65ac3e28e4a1d8c
parent03544ec2a43fab162d25cf44627d1d08430bcccd
ARM NEON: Don't need COPY_TO_REGCLASS in pattern

In my previous commit:
"Merge a f32 bitcast of a v2i32 extractelt

A vectorized sitfp on doubles will get scalarized to a sequence of an
extract_element of <2 x i32>, a bitcast to f32 and a sitofp.
Due to the the extract_element, and the bitcast we will uneccessarily generate
moves between scalar and vector registers."

I added a pattern containing a copy_to_regclass. The copy_to_regclass is
actually not needed.

radar://13191881

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175555 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrNEON.td