Skip to content
  • Chris Lattner's avatar
    Compile x86-64-and-mask.ll into: · 3c7d3d57
    Chris Lattner authored
    _test:
    	movl	%edi, %eax
    	ret
    
    instead of:
    
    _test:
            movl    $4294967295, %ecx
            movq    %rdi, %rax
            andq    %rcx, %rax
            ret
    
    It would be great to write this as a Pat pattern that used subregs 
    instead of a 'pseudo' instruction, but I don't know how to do that
    in td files.
    
    llvm-svn: 47658
    3c7d3d57
Loading