Skip to content
  • Tim Northover's avatar
    X86: change zext moves to use sub-register infrastructure. · 04eb4234
    Tim Northover authored
    32-bit writes on amd64 zero out the high bits of the corresponding 64-bit
    register. LLVM makes use of this for zero-extension, but until now relied on
    custom MCLowering and other code to fixup instructions. Now we have proper
    handling of sub-registers, this can be done by creating SUBREG_TO_REG
    instructions at selection-time.
    
    Should be no change in functionality.
    
    llvm-svn: 182921
    04eb4234
Loading