Skip to content
  • Chris Lattner's avatar
    Implement enough of the missing instalias support to get · dd3b09c2
    Chris Lattner authored
    aliases installed and working.  They now work when the
    matched pattern and the result instruction have exactly
    the same operand list.
    
    This is now enough for us to define proper aliases for
    movzx and movsx, implementing rdar://8017633 and PR7459.
    
    Note that we do not accept instructions like:
      movzx 0(%rsp), %rsi
    
    GAS accepts this instruction, but it doesn't make any
    sense because we don't know the size of the memory
    operand.  It could be 8/16/32 bits.
    
    llvm-svn: 117901
    dd3b09c2
Loading