]> granicus.if.org Git - llvm/commit
Merging r325550:
authorHans Wennborg <hans@hanshq.net>
Tue, 20 Feb 2018 16:18:57 +0000 (16:18 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 20 Feb 2018 16:18:57 +0000 (16:18 +0000)
commit22a047b7bdc982e02c510d72d640d66cd34b8c4d
tree455ed5432d51df5d75c71d5d32117c4314880118
parentb99df1f39716db5a508af88d991fb964fa580751
Merging r325550:

I couldn't get fp16-copy-gpr.mir to pass after merging so I removed it until
aemerson; the other test I re-generated and it seems to work.

------------------------------------------------------------------------
r325550 | aemerson | 2018-02-20 06:11:57 +0100 (Tue, 20 Feb 2018) | 7 lines

[AArch64][GlobalISel] When copying from a gpr32 to an fpr16 reg, convert to fpr32 first.

This is a follow on commit to r[x] where we fix the other direction of copy.
For this case, after converting the source from gpr32 -> fpr32, we use a
subregister copy, which is essentially what EXTRACT_SUBREG does in SDAG land.

https://reviews.llvm.org/D43444
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@325591 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstructionSelector.cpp
test/CodeGen/AArch64/GlobalISel/fp16-copy-gpr.mir [deleted file]