]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
Completely disallow partial copies in adjustCopiesBackFrom().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 29 Oct 2012 17:51:52 +0000 (17:51 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 29 Oct 2012 17:51:52 +0000 (17:51 +0000)
commit573303e62a913ec881fde3434d7babed0bd4da33
treec2a6427d3525e7ddec03f1b52477d05700071aeb
parent78dab643e0d49cc76ca20409d733c23bc17171dd
Completely disallow partial copies in adjustCopiesBackFrom().

Partial copies can show up even when CoalescerPair.isPartial() returns
false. For example:

   %vreg24:dsub_0<def> = COPY %vreg31:dsub_0; QPR:%vreg24,%vreg31

Such a partial-partial copy is not good enough for the transformation
adjustCopiesBackFrom() needs to do.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166944 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegisterCoalescer.cpp
test/CodeGen/ARM/coalesce-subregs.ll