Skip to content
  • Jakob Stoklund Olesen's avatar
    Pick a conservative register class when creating a small live range for remat. · ae044c06
    Jakob Stoklund Olesen authored
    The rematerialized instruction may require a more constrained register class
    than the register being spilled. In the test case, the spilled register has been
    inflated to the DPR register class, but we are rematerializing a load of the
    ssub_0 sub-register which only exists for DPR_VFP2 registers.
    
    The register class is reinflated after spilling, so the conservative choice is
    only temporary.
    
    llvm-svn: 128610
    ae044c06
Loading