Skip to content
  • Jakob Stoklund Olesen's avatar
    Also attempt trivial coalescing for live intervals that end in a copy. · 497161c4
    Jakob Stoklund Olesen authored
    The coalescer is supposed to clean these up, but when setting up parameters
    for a function call, there may be copies to physregs. If the defining
    instruction has been LICM'ed far away, the coalescer won't touch it.
    
    The register allocation hint does not always work - when the register
    allocator is backtracking, it clears the hints.
    
    This patch is more conservative than r90502, and does not break
    483.xalancbmk/i686. It still breaks the PowerPC bootstrap, so it is disabled
    by default, and can be enabled with the -trivial-coalesce-ends option.
    
    llvm-svn: 91049
    497161c4
Loading