[PATCH] D30438: SplitKit: Correctly implement partial copies

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 18:06:36 PST 2017


MatzeB created this revision.
Herald added a subscriber: mcrosier.

- This fixes a bug where subregisters incompatible with the given vreg were choosen.
- Implement the case where multiple copies are necessary to cover a given lanemask.

rdar://30388692

Putting this up for early review as I believe the code to be ready; However I am not sure right now how to write a good test for it. Anyone got tips on how to make a GPU spill/split?


Repository:
  rL LLVM

https://reviews.llvm.org/D30438

Files:
  lib/CodeGen/SplitKit.cpp
  lib/CodeGen/SplitKit.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30438.89958.patch
Type: text/x-patch
Size: 7472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170228/0d26b42e/attachment.bin>


More information about the llvm-commits mailing list