OSDN Git Service

Coalesce stack slot accesses that arise when spilling both sides of a COPY.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 4 Aug 2010 22:35:11 +0000 (22:35 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 4 Aug 2010 22:35:11 +0000 (22:35 +0000)
commit1a0f91b7c56fb49be0c5914333363320ac2a5f46
treeecc1fed2aeeba271d94aa16f142b8326801922a0
parent87c0175cce653ee1d69d1efce77e7531c3066dac
Coalesce stack slot accesses that arise when spilling both sides of a COPY.
This helps avoid silly code:

    %R0<def = LOAD <fi#5>
    STORE <fi#5>, %R0<kill>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110266 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/InlineSpiller.cpp